|
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.
|