You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The stuck detection node (src/autonomous_nav/autonomous_nav/stuck_detection_node.py) is responsible for determining if, and qualifying why, the rover is stuck (i.e. immobile). Currently there are two (independent) stuck conditions: the node reads the target and read motor data from the drivetrain and compares the target vs. actual velocities along with torque vs. rated to qualify if the wheels are stuck or free spinning. For these conditions to apply, at least three of the wheels must meet the requirements for some duration. Once local and global pathing is merged, path deviation may be another condition.
Integration tests are in src/autonomous_nav/autonomous_nav/tests/test_stuck_detection_node.py.
Publications
/stuck_detection/is_stuck [Bool]
/stuck_detection/reason [UInt8]
Encoded by a bitmask (see StuckReasons for decoding).
A few debug publishers may be enabled, see source.
Subscriptions
Interface and CAN topics for each of the drive motors.