Is running Lifts and/or running brake mode on motors in disabled allowed

Is this code legal?
void disabled() { while (true) { Drivetrain.lock(); Arm = Arm_Lock - Arm.get_position(); } }

Would it run?
And if It does, am I allowed to use it at Worlds?

This will not work. Vexos will automatically set all motors to coast when disabled.

3 Likes

If you really need something to stay up when in coast mode I would suggest using rubber bands or make your pneumatics close in their idle position.

2 Likes