Closed cpostbitbuckets closed 2 years ago
Is this something that can be used explicitly in teleop when connected to the FMS? Something published by the drivestation? https://github.com/wpilibsuite/allwpilib/blob/d66555e42f3fb558ebe7609602fcbeee252be287/wpilibj/src/main/java/edu/wpi/first/wpilibj/DriverStation.java
That is, distinguish between teleop connected to FMS and teleop off the field, so we can work on the practice field without hindrance.
we could also do a normal "stop" when disableInit is called, so disabling the robot will snap the wheels to the correct orientation.
When we stop (in teleop only), we want our wheels to be in an X pattern, i.e.
This should be called in teleop anytime we are not moving the robot so we are less susceptible to pushing.
We don't want this to happen outside of teleop because we need to be able to position the robot when off field.