View Single Post
  #5   Spotlight this post!  
Unread 13-04-2010, 02:14
Al3+'s Avatar
Al3+ Al3+ is offline
ARTist
AKA: Anthony
FRC #0840 (Aragon Robotics Team)
Team Role: Programmer
 
Join Date: Oct 2009
Rookie Year: 2008
Location: San Mateo, CA
Posts: 58
Al3+ is a jewel in the roughAl3+ is a jewel in the roughAl3+ is a jewel in the rough
Re: FRC Joystick throttle problems

Quote:
Originally Posted by Radical Pi View Post
Both the Victor and Jaguar class implement the same MotorController interface which defines the use of the Set function, so I'd assume they take the same inputs (and I'm 100% sure it's -1 to 1 on jags)
Confirmed. The Joystick::GetThrottle() function also returns a float from -1 to +1.

And yes, it used to be 0 to 255 on the IFI control system.

Refer to the help docs that come with WindRiver (I believe it's C:\WindRiver\docs\extensions\something). The return types and such are all in there.
__________________
cout << "Hello, robotics. Goodbye, world." << endl;

"The two-axis accelerometer provided in the kit of parts (shown in the picture below) is a two-axis accelerometer." - WPILib User's Guide
Reply With Quote