|
Autonomous Time Delay
Ok so im trying to figure out how to get an autonomous for work. I tried to get the robot to drive forward with the code below:
drive.tankDrive(1.0,1.0);
Time.delay(3);
drive.tankDrive(0.0,0.0);
When i run the autonomous the robot just jerks forwards quickly and sometimes it won't even give a response. I tried changing the number in the time delay but it made no difference. Any ideas?
|