Motor Safety and Recovery
Use motor-safety timeouts and responsive loops to stop stale outputs.
Use motor-safety timeouts and responsive loops to stop stale outputs.
In this lesson, you will:
FRC LabVIEW includes drive and motor safety configuration VIs. When enabled, the safety system expects code to refresh an actuator before a short timeout; if updates stop, it forces the output off instead of holding the last command.
If a loop blocks or runs too slowly, driver control can feel delayed. Keep long waits out of Teleop and use explicit state instead.
Put the robot securely on blocks, enable a short safety timeout, and intentionally delay updates longer than that timeout. The drivetrain should stop. Remove the artificial delay afterward, then disable the robot during another low-power test and confirm that every output stops.
LabVIEW diagram viewer
Hover a VI. Press Ctrl-H for help.
Check your understanding before moving on.
When safety is enabled and drivetrain code stops refreshing output before the timeout, what happens?
Teleop feels laggy. What is the most likely cause in LabVIEW?
0 of 2 answered
Mark this lesson complete.