sl-controls
71b46f51d5
feat: PID tuning interface via CAN/ROS2 (Issue #693)
- Mamba (STM32): add ORIN_CAN_ID_PID_SET (0x305) handler in orin_can.c.
Receives kp/ki/kd as uint16*100 (BE), applies to running balance loop,
replies with FC_PID_ACK (0x405) echoing clamped gains. Gains persist in
RAM until reboot; not saved to flash.
- Jetson: expose pid/kp, pid/ki, pid/kd as ROS2 parameters in
can_bridge_node. Parameter changes trigger encode_pid_set_cmd() and
send CAN frame 0x305 immediately. ACK frame 0x405 logged at DEBUG.
- mamba_protocol.py: add ORIN_CAN_ID_PID_SET / FC_PID_ACK IDs,
PidGains dataclass, encode_pid_set_cmd(), decode_pid_ack().
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 16:38:09 -04:00
..
2026-03-02 10:34:35 -05:00
2026-03-18 08:10:10 -04:00
2026-03-18 08:25:07 -04:00
2026-03-07 10:01:02 -05:00
2026-03-03 17:35:34 -05:00
2026-02-28 19:43:48 -05:00
2026-03-02 09:40:18 -05:00
2026-03-02 12:51:42 -05:00
2026-03-17 21:41:19 -04:00
2026-03-18 08:10:10 -04:00
2026-03-03 17:35:34 -05:00
2026-03-03 17:35:34 -05:00
2026-03-15 16:34:38 -04:00
2026-03-04 10:36:35 -05:00
2026-03-06 10:27:36 -05:00
2026-03-06 10:27:36 -05:00
2026-03-06 10:27:36 -05:00
2026-03-02 13:29:18 -05:00
2026-03-14 13:37:14 -04:00
2026-03-14 10:38:06 -04:00
2026-03-06 22:35:24 -05:00
2026-03-18 08:10:10 -04:00
2026-02-28 17:48:53 -05:00
2026-02-28 11:58:23 -05:00
2026-03-17 22:49:21 -04:00
2026-03-02 11:51:26 -05:00
2026-02-28 21:07:15 -05:00
2026-03-06 22:35:24 -05:00
2026-03-18 08:25:07 -04:00
2026-03-02 11:06:13 -05:00
2026-03-15 11:04:38 -04:00
2026-02-28 17:48:53 -05:00
2026-02-28 21:06:26 -05:00
2026-03-14 12:25:29 -04:00
2026-02-28 17:15:40 -05:00
2026-03-17 22:49:21 -04:00
2026-03-20 16:38:09 -04:00
2026-03-02 09:56:18 -05:00
2026-03-14 12:25:29 -04:00
2026-03-14 11:51:11 -04:00
2026-03-07 10:01:02 -05:00
2026-03-02 20:49:26 -05:00
2026-03-01 04:55:54 -05:00
2026-03-14 10:38:06 -04:00
2026-03-03 19:00:12 -05:00
2026-03-14 15:04:58 -04:00
2026-03-01 04:55:54 -05:00
2026-03-15 10:11:05 -04:00
2026-03-15 14:41:00 -04:00
2026-03-02 12:22:09 -05:00
2026-03-17 21:41:19 -04:00
2026-03-02 21:09:17 -05:00