View Single Post
  #3   Spotlight this post!  
Unread 09-03-2014, 08:59
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Get joystick name and index in wpilib C++

Just to confirm. No information about the Vendor or Model of the joystick is ever sent to the robot. The DS displays it, but it is not part of the protocol. If your team plugs the joysticks into the same ports each time, I'd expect that you do not need to redo the ordering. Have you seen different?

To cut through the inverted inversions of the sentence. Joystick and I/O settings are sent to the robot during disabled mode and are latched during auto. A custom control box, with switches and pots is often used. If the I/O is not connected and the I/O is configured for Compatible mode, you can also make the settings directly onscreen. The Boolean and sliders can be named and their names and settings are stored to the ini file.

Greg McKaskle