Quote:
Originally Posted by Robototes2412
Code:
--SNIP--
//the thing that sets crap up
|
It appears that the robot read your comment and didn't like it!
JK
Quote:
Originally Posted by Robototes2412
Code:
double time = Timer.getFPGATimestamp();
while ((Timer.getFPGATimestamp() < time + 5.0f) && this.thePole.getLeftWays()) {
System.out.println(';');
this.armSwingyMotor.set(0.25);
}
this.armSwingyMotor.set(0);
}
|
Is there a better way to do this?
If you use the loop but never reach the limit what happens to the rest of the robot code?
P.S. what "didn't" work?
Did the robot stop working? If so it appears that you tripped the watchdog.