Go to Post It's in the RUMOR MILL section, hence it is a RUMOR. Personally I find it entertaining to see what gets started in this particular forum section and have people go off the deep end. - Gary Dillard [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 11-02-2013, 16:41
Cfleming_3929 Cfleming_3929 is offline
Registered User
FRC #3929
 
Join Date: Feb 2013
Location: Philadelphia
Posts: 2
Cfleming_3929 is an unknown quantity at this point
Arduino Leonardo Recognized as Joystick

Hey, I'm on the second year team, the Atomic Dragons (3929). I'm on the programming team and don't have much experience. I was wondering if anyone else was working on an Arduino Leonardo board? If so, how do you get the FRC driver station to recognize it as a joystick?
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2013, 17:17
SteveGarward's Avatar
SteveGarward SteveGarward is offline
Red 5, standing by...
AKA: 7 years already
FRC #0111 (WildStang), FRC #3132 (Thunder Down Under)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2010
Location: Gurnee, IL
Posts: 173
SteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud of
Re: Arduino Leonardo Recognized as Joystick

I am planning on having us try the Leonardo out this year instead of the Cypress board. It arrived this morning, so I haven't tried it yet. There are some decent resources on the web available, and I'll dig up what I found later tonight. Once we get it going I'll post some info here.

In short, you need a descriptor for your 'joystick' so you can describe the buttons etc that you are going to have, and then from your Arduino code, write your values to the computer as a report of the joystick state. Again, some resources where people have done this is helpful, and I will post some later.

Keep in mind having it show up as a joystick is not the same as how the Cypress board showed up in the Driver Station software, as far as I know.
__________________
FRC Team 111 - WildStang (Mentor, Drive Coach)
FTC Team 7458 - Full Force! (Mentor, Coach)
FRC Team 3132 - Australia's FIRST FRC Team! (Holy crazy first year, Batman!)

Reply With Quote
  #3   Spotlight this post!  
Unread 11-02-2013, 19:29
Cfleming_3929 Cfleming_3929 is offline
Registered User
FRC #3929
 
Join Date: Feb 2013
Location: Philadelphia
Posts: 2
Cfleming_3929 is an unknown quantity at this point
Smile Re: Arduino Leonardo Recognized as Joystick

The error had a simple solution. We just had to go to Tools, then Serial Port, and select COM5. Once there was a check mark next to COM5, the Arduino Leonardo showed up on the Driver Station as a joystick.
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 01:58.

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


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