View Single Post
  #7   Spotlight this post!  
Unread 14-04-2010, 20:46
krudeboy51's Avatar
krudeboy51 krudeboy51 is offline
Only Programmer
AKA: kory
FRC #0369 (369)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: brooklyn
Posts: 151
krudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of light
Send a message via AIM to krudeboy51
Re: FRC Joystick throttle problems

Quote:
Originally Posted by cvitullo View Post
My team is using the throttle on the Attack 3 joystick for our kicker speed control, but for some reason it's only returning -1, 0, or 1. Never anything else, despite being an analog input. Anyone else have this problem?
We're passing it to a Victor (also, does anyone know the values a victor takes in? I can't find them anywhere) after a bit of math to convert it.
TRY THIS:

Quote:
if (ThirdStick->GetRawButton(3))
{
{ Variable->Set( ( ( ThirdStick->GetThrottle() / 2 ) - 0.5 ) ) ; } ;
};
it works well with our ball magnet
Reply With Quote