View Single Post
  #4   Spotlight this post!  
Unread 20-02-2011, 19:41
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,751
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: Jaguar Input Values

The HID value for the joysticks is a two byte value, typically between -32768 and 32767. That is converted to an single byte value -128 to 127 to communicate from the DS to the robot, and on the robot it is scaled from an integer byte into a single precision float. The float will go from -1 to +1 with multiples of 1/127 for the inbetween values.

Greg McKaskle
Reply With Quote