when Robot Rolled
Utility to use the IMU to detect roll or pitch beyond ROBOT_PITCH_ROLL_THRESHOLD_DEGREES.
Return
this
Parameters
imu
the IMU to use for detection
action
the action to take on a roll/pitch violation
Utility to use the IMU to detect roll or pitch beyond ROBOT_PITCH_ROLL_THRESHOLD_DEGREES.
this
the IMU to use for detection
the action to take on a roll/pitch violation