Commit Graph

5 Commits

Author SHA1 Message Date
robin f2b0968979 jetson-arm: drop x86 build artifact, build fresh on target
The committed xbox_motor_control_cpp binary is x86-64 and won't run
on Jetson's aarch64. run_4wd.sh only rebuilds when the binary is
missing, so removing it here lets the first run on the Jetson
compile a native ARM binary via `make`. Commit that binary back to
this branch after building on-device to keep an ARM build tracked
here, same as main tracks the x86 one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-13 10:15:23 +09:00
robin ae3f92f358 Add driver error code diagnostics and current limit query/set
Reads 0x20A5/0x20A6 error codes alongside existing feedback poll to
diagnose overcurrent/overload alarms, and adds rated/max current
query and max current write helpers.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-13 10:14:40 +09:00
robin 9f2ead2138 Improve outdoor traction control and raise top speed
Adds jerk-limited S-curve motion profiles, robust median-based
odometry to reject wheel-lift encoder spikes, per-wheel current-based
airborne/stall detection with pair-wise comparison to avoid false
positives during normal curve turns, curved-turn blending for spin
turns, and optional CSV telemetry logging. Fixes a bug where any
right-stick input while driving forward would override left-stick
curve steering. Raises max speed from 0.3 to 0.4 m/s.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-12 16:31:06 +09:00
robin 4fbe036427 upload previous file 2026-08-07 13:48:39 +09:00
robin 7b801d2721 Initial commit 2026-08-07 13:39:34 +09:00