Set neutral mode to coast for teleop

also added explanatory comments around the teleop gyro lock mode code
This commit is contained in:
Dave Staudacher
2018-03-06 03:04:23 -07:00
parent 3371af60cf
commit f3591476b1
2 changed files with 21 additions and 13 deletions
+1
View File
@@ -289,6 +289,7 @@ public class Robot extends IterativeRobot
if (RLautonomousCommand != null) RLautonomousCommand.cancel();
if (LRautonomousCommand != null) LRautonomousCommand.cancel();
if (LLautonomousCommand != null) LLautonomousCommand.cancel();
drive.setToBrakeOnNeutral(false); // coast to avoid tipping when driver stops suddenly
//MotionProfileCache.getInstance().release();
updateChoosers();
controlLoop.start();