DRIVE_UPDATE_SAFETY_TIMEOUT

The timeout value used for the RoadRunner drive update watchdog to disengage the drive if an update call has not been registered after this timeout.

This can also generally be used as a threshold for looping speed that is dangerous for robot operation. Too slow of a loop speed is extremely dangerous especially for the drive subsystem, as it has the ability to cause severe damage from lack of control.

A drive will use this timeout to ensure that the drive stops and locks if no updates are being supplied after this amount of time has passed. This is to prevent a runaway robot in case of a software bug or other issues, as most methods attached to RoadRunner drive classes will propagate instantly on the drive motors. The drive is also the most volatile subsystem. These drives are the only type of subsystem that has this feature as it wraps around a RoadRunner drive. Other subsystems follow this safety by default as their methods only propagate hardware when the subsystem is updated. This timeout is defined here.