View Single Post
  #7   Spotlight this post!  
Unread 31-01-2012, 18:24
Pirate programe's Avatar
Pirate programe Pirate programe is offline
Registered User
FRC #0354
 
Join Date: Jan 2012
Location: Queens,NY
Posts: 53
Pirate programe is an unknown quantity at this point
Re: Using Target Distance to Move Robot

This is weird.

I can confirm that the code logic is correct already, since when I wire the Joystick inputs instead of constants, the robot can move when the condition is met.

Could there be a problem with the input values I'm using? I noticed through probing wires that the values the joystick gives aren't scaled from -1 to 1...

EDIT: Actually, no, I was reading the numbers wrong. They should be the same as the ones the joystick uses...

Last edited by Pirate programe : 31-01-2012 at 18:29.
Reply With Quote