mirror of
https://github.com/Team4388/2018-Robot.git
synced 2026-06-09 00:38:04 -06:00
Set neutral mode to coast for teleop
also added explanatory comments around the teleop gyro lock mode code
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user