Thread: RELAY!!
View Single Post
  #5   Spotlight this post!  
Unread 03-11-2010, 15:17
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: RELAY!!

Quote:
Originally Posted by Alan Anderson View Post
So you want the relay to be set "forward" if the joystick is pushed forward, you want the relay to be set "reverse" if the joystick is pulled backward, and you want the relay to be set "off" if the joystick is left at center?

The joystick Y-axis value will be negative if you push it forward. The value will be positive if you pull it backward. The value will be zero if you leave it at center. Does that help send you in the right direction?
yes, Inderstand that concept, but the thing is, for victors and jaguars we would use Joystick.GetY. I dont understand what to put for a relay, I have tried all of those listed in the first post
Reply With Quote