Go to Post Dear GDC, You are awesome. From, the Chief Delphi folks. - bam-bam [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-14-2017, 12:10 PM
davispitts3577 davispitts3577 is offline
Registered User
FRC #3577 (Saints Robotics)
Team Role: Electrical
 
Join Date: Aug 2017
Rookie Year: 2017
Location: Arizona
Posts: 40
davispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to behold
Libraries for FRsky Taranis

Can anyone build a library for the FRsky Taranis for use in driving the robot though driverstation? We're trying to use a Taranis for control this year, over USB straight into driver station.
Reply With Quote
  #2   Spotlight this post!  
Unread 08-14-2017, 12:18 PM
marshall's Avatar
marshall marshall is offline
Discerning and exacting individual
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 2,565
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Libraries for FRsky Taranis

I Googled for "FRsky Taranis USB HID device" and came up with this:

https://opentx.gitbooks.io/manual-fo..._joystick.html

This reddit thread might also help:

https://www.reddit.com/r/Multicopter..._am_i_missing/

It seems to suggest you need that OpenTX firmware on it for it to show up as a device.

Someone on there also suggested buying a $10 converter on eBay to save time.

Hope that helps. I doubt anyone here is going to build a driver for you.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Clarke's Laws
Reply With Quote
  #3   Spotlight this post!  
Unread 08-14-2017, 01:59 PM
davispitts3577 davispitts3577 is offline
Registered User
FRC #3577 (Saints Robotics)
Team Role: Electrical
 
Join Date: Aug 2017
Rookie Year: 2017
Location: Arizona
Posts: 40
davispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to behold
Re: Libraries for FRsky Taranis

How do i setup each stick as a different joystick?
Reply With Quote
  #4   Spotlight this post!  
Unread 08-14-2017, 02:03 PM
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 4,844
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Libraries for FRsky Taranis

Yesterday you were asking if this was possible, today you're asking for us to do it for you...

Has anyone actually done this before (I personally have never heard of it)? If not, you're blazing new territory, in which case you'll probably have to figure it out as you go along, no one else will have experience with it to tell you what to do.
__________________
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016-2018; Iowa 2017; Northern Lights 2018; Great Northern 2018
Division LRI: Galileo 2016; Tesla 2017; Archimedes 2018
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
Reply With Quote
  #5   Spotlight this post!  
Unread 08-14-2017, 02:58 PM
davispitts3577 davispitts3577 is offline
Registered User
FRC #3577 (Saints Robotics)
Team Role: Electrical
 
Join Date: Aug 2017
Rookie Year: 2017
Location: Arizona
Posts: 40
davispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to behold
Re: Libraries for FRsky Taranis

So I do have a solution to the problem... sorta. I can use the left gimbal as a regular joystick, and map the other gumbal as a "twist, like as if you were to twist a regular joystick. And map the z axis for the other side. I'm still going to try and find out if I can map it as 2 separate joysticks, I'll keep you updated.
Reply With Quote
  #6   Spotlight this post!  
Unread 08-14-2017, 03:32 PM
marshall's Avatar
marshall marshall is offline
Discerning and exacting individual
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 2,565
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Libraries for FRsky Taranis

Quote:
Originally Posted by davispitts3577 View Post
So I do have a solution to the problem... sorta. I can use the left gimbal as a regular joystick, and map the other gumbal as a "twist, like as if you were to twist a regular joystick. And map the z axis for the other side. I'm still going to try and find out if I can map it as 2 separate joysticks, I'll keep you updated.
Please do. Also, please post your solution to the problem in as much detail as possible so that the next person who comes along and needs help making their frisky tyrannosaurus work as a driver station input will know what to do.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Clarke's Laws

Last edited by marshall : 08-14-2017 at 03:36 PM.
Reply With Quote
  #7   Spotlight this post!  
Unread 08-14-2017, 09:23 PM
davispitts3577 davispitts3577 is offline
Registered User
FRC #3577 (Saints Robotics)
Team Role: Electrical
 
Join Date: Aug 2017
Rookie Year: 2017
Location: Arizona
Posts: 40
davispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to beholddavispitts3577 is a splendid one to behold
Re: Libraries for FRsky Taranis

Hi All, sorry for the spam over the past 2 days, but i finally got the taranis working properly for Omnidrive (or any other form of drivetrain) over USB.

To abide by FRC's rules about wireless communication with the bot, (like over 2.4ghz) You must disable the Internal and External radio inside the taranis's settings. After that, i deleted all the input channels on the taranis and started from scratch with a new model.

Channel Layout:

Channel One is set to Thr(Throttle)
Channel Two is set to Ele(Elevator)
Channel Three is set to Switch SH (Momentary)
Channel Four is set to Switch SD (3 Position).

Whenever you plug your taranis into your PC, drivers should automatically install, make sure your remote is on before you plug it into the PC. Go into device manager and make sure the Taranis is showing up as an 8 Axes 32 button joystick (or something of that nature) Then calibrate it. After that, Driverstation should recognize the controller as a joystick, and register inputson the first 4 axes inputs.

CODING:

Since I set up our taranis to run omnidrive (or tank drive if you have treads),

You will need to call on the x Axis for the left side of the drive train, and the y axis for the right side of the drive train. to use the momentary switch, call on the z axis. X-rotate is the 3 position switch as i have it set up currently. You c


Like i said, sorry again to all the mods that had to deal w my mess.

if you would like to play with the inputs and outputs in the taranis menu, you can change things to the exact way you like them. as of now, this is how i have it configured.
Thanks all who helped!!
-Davis
Reply With Quote
  #8   Spotlight this post!  
Unread 09-20-2017, 10:05 AM
Splashdavidson Splashdavidson is offline
Mentor
FRC #1778 (Chillout)
Team Role: Mentor
 
Join Date: Dec 2012
Rookie Year: 2012
Location: Mountlake Terrace High School
Posts: 24
Splashdavidson will become famous soon enough
Re: Libraries for FRsky Taranis

We thought about doing the same thing, program within the OpenTX software. The problem for us that the USB driver seemed to be limited to 8-bit resolution. The thought of having to program a new USB module was not great.

So, we are in the process of prototyping new electronics in the FrSky controller. Here is an image of the current work:

https://drive.google.com/file/d/15zz...ew?usp=sharing

Here is more information on the work:

1) https://github.com/MTHSRoboticsClub/...ezy-Drive-2017
2) https://github.com/MTHSRoboticsClub/...ler-Comparison

We are using the mm-joy firmware on a arduino pro as the central controller to the new circuit. Our test show 4K resolutions on the joysticks.

Last edited by Splashdavidson : 09-20-2017 at 10:11 AM.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:48 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi