feat: VESC motor dashboard panel (Issue #653) #662
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "sl-webui/issue-653-vesc-panel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ui/vesc_panel.{html,js,css}for live VESC motor telemetry via rosbridge/vesc/left/state,/vesc/right/state,/vesc/combined(allstd_msgs/StringJSON fromsaltybot_vesc_telemetrynode)/cmd_vel+/saltybot/emergencyJSON eventFeatures
Test plan
ui/vesc_panel.htmlin browser, connect to rosbridge/vesc/left/stateand/vesc/right/state/vesc/combined/cmd_veland event on/saltybot/emergency🤖 Generated with Claude Code
Standalone panel ui/vesc_panel.{html,js,css} with live CAN telemetry via rosbridge. Subscribes to /vesc/left/state, /vesc/right/state (std_msgs/String JSON) and /vesc/combined for battery voltage. Features: - Canvas arc gauge per motor showing RPM + direction (FWD/REV/STOP) - Current draw bar (motor + input), duty cycle bar, temperature bars - FET and motor temperature boxes with warn/crit colour coding - Sparkline charts for RPM and current (last 60 s, 120 samples) - Battery card: voltage, total draw, both RPMs, SOC progress bar - Colour-coded health: green/amber/red at configurable thresholds - E-stop button: publishes zero /cmd_vel + /saltybot/emergency event - Stale detection (2 s timeout → OFFLINE state) - Hz counter + last-stamp display in header - Mobile-responsive layout (single-column below 640 px) - WS URL persisted in localStorage Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>