feat(controls): Motor current protection — overcurrent detection and thermal derating #223

Closed
opened 2026-03-02 11:52:16 -05:00 by sl-jetson · 0 comments
Collaborator

Single ROS2 node. Subscribe to /saltybot/motor_current (from INA219). If current exceeds soft_limit (5A) for >2s, scale down speed by 50%. If exceeds hard_limit (8A), zero cmd_vel + publish alert. Thermal derating: reduce max current linearly above 60C motor temp estimate (I^2*R model). Publish /saltybot/motor_protection (JSON). 20Hz. Include unit tests.

Single ROS2 node. Subscribe to /saltybot/motor_current (from INA219). If current exceeds soft_limit (5A) for >2s, scale down speed by 50%. If exceeds hard_limit (8A), zero cmd_vel + publish alert. Thermal derating: reduce max current linearly above 60C motor temp estimate (I^2*R model). Publish /saltybot/motor_protection (JSON). 20Hz. Include unit tests.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seb/saltylab-firmware#223
No description provided.