sl-controls 4fed80f36d feat: SaltyRover 4-wheel diff-drive control loop (#74)
Adds saltyrover_drive ROS2 package — 4-wheel differential drive controller
for the stable SaltyRover chassis (no balance PID required).

rover_drive_node:
  - Subscribes /cmd_vel (Twist), converts to left/right wheel speeds
  - Tank-style kinematics: v_left = linear.x - angular.z × sep/2
  - FL/RL share left speed, FR/RR share right speed (paired axles)
  - Publishes /rover/wheel_speeds (JSON: {"cmd":"drive4","fl":N,"fr":N,"rl":N,"rr":N})
  - Trapezoidal ramp: accel 2.0 m/s², decel 4.0 m/s² (stable chassis allows faster ramps)
  - cmd_vel watchdog (0.5s timeout → zero speeds)
  - max_speed 3.0 m/s (±1000 STM32 ticks)

rover_odom_node:
  - Dead-reckoning odometry from /cmd_vel (encoder-ready for future HW)
  - Publishes /odom (nav_msgs/Odometry) + TF odom→base_link
  - Forward Euler pose integration at 50 Hz

52/52 unit tests: kinematics, int scaling, JSON builder, full pipeline,
trapezoidal ramp, odometry integration, quaternion conversion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 01:14:27 -05:00
2026-02-28 11:58:23 -05:00
2026-02-28 11:58:23 -05:00
2026-02-28 11:58:23 -05:00
Description
SaltyLab self-balancing bot firmware (STM32F722)
11 MiB
Languages
Python 67.1%
C 11.4%
JavaScript 9.2%
OpenSCAD 7.8%
HTML 1.5%
Other 2.9%