Autoformatted
This commit is contained in:
parent
4c80b97a13
commit
b93bdc2993
@ -74,7 +74,9 @@ public class Robot extends IterativeRobot {
|
|||||||
} */
|
} */
|
||||||
|
|
||||||
// schedule the autonomous command (example)
|
// schedule the autonomous command (example)
|
||||||
if (autonomousCommand != null) autonomousCommand.start();
|
if (autonomousCommand != null) {
|
||||||
|
autonomousCommand.start();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -89,7 +91,9 @@ public class Robot extends IterativeRobot {
|
|||||||
// teleop starts running. If you want the autonomous to
|
// teleop starts running. If you want the autonomous to
|
||||||
// continue until interrupted by another command, remove
|
// continue until interrupted by another command, remove
|
||||||
// this line or comment it out.
|
// this line or comment it out.
|
||||||
if (autonomousCommand != null) autonomousCommand.cancel();
|
if (autonomousCommand != null) {
|
||||||
|
autonomousCommand.cancel();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user