Steering PID controller for differential drive #616

Closed
opened 2026-03-15 10:02:46 -04:00 by sl-jetson · 0 comments
Collaborator

Implement a heading/steering PID controller that converts geometry_msgs/Twist angular.z commands into differential wheel speed offsets. Subscribe to /cmd_vel for target angular velocity, use IMU gyro Z for feedback. Output: left/right motor speed differential added to balance PID output. Anti-windup on integrator. Rate limiter to prevent sudden turns that destabilize balance. JLINK telemetry for steering: target_omega, actual_omega, differential_output. Unit tests with simulated turn scenarios.

Implement a heading/steering PID controller that converts geometry_msgs/Twist angular.z commands into differential wheel speed offsets. Subscribe to /cmd_vel for target angular velocity, use IMU gyro Z for feedback. Output: left/right motor speed differential added to balance PID output. Anti-windup on integrator. Rate limiter to prevent sudden turns that destabilize balance. JLINK telemetry for steering: target_omega, actual_omega, differential_output. Unit tests with simulated turn scenarios.
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#616
No description provided.