|
Re: Code Not Working
I am very confused why you have two RobotDrive instances, but I would recommend checking the lights on the Jaguars to verify they are receiving commands.
EDIT: I re-read it and found the error. operatorControl() is only called once. You should replace "if" with "while" to make it run constantly until telop is finished. Also add a Timer.delay(0.05) at the end to free up the cpu.
Last edited by Joey1939 : 10-01-2015 at 14:38.
|