feat: Sul-Tee GPS live tracking dashboard (Issue #709) #710
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "sl-webui/issue-709-gps-tracker"
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?
Single-file vanilla JS GPS tracker at ui/sultee-tracker.html. Connects to ws://100.64.0.2:9090, parses iPhone GPS JSON frames, shows live Leaflet map with trail polyline + position marker, sidebar with speed/altitude/heading compass/accuracy/fix log. Auto-reconnect with exponential backoff. Closes #709.
Single-file vanilla JS dashboard at ui/sultee-tracker.html: - Connects to ws://100.64.0.2:9090 (configurable, saved in localStorage) - Parses {"type":"gps","data":{...},"timestamp":...} JSON frames from iPhone - Leaflet.js + OpenStreetMap tiles with dark CSS filter - Live position marker (cyan pulsing dot SVG icon) - Orange polyline trail (up to 2000 points) - Auto-centers on first GPS fix; FOLLOW/FREE toggle; drag disables follow - Sidebar: speed (km/h, color-coded), altitude, heading, compass rose canvas, h-accuracy bar (green/amber/red), coordinate display, fix count - Scrollable trail log with timestamp + coords + speed per fix - Exponential backoff auto-reconnect (2s→30s cap) - CLEAR button resets trail, marker, log, fix count Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>Previously showed only phone GPS. Now also subscribes via ROSLIB to saltybot/gps/fix + saltybot/gps/vel on the same rosbridge URL for robot (SAUL-TEE) position. Blue marker+trail for phone (raw WS {type:gps}), orange marker+trail for robot (ROS topics). Sidebar shows phone speed/alt/heading/accuracy + robot lat/lon/speed + distance between the two. FIT ALL button auto-zooms to show both. Status bar badges for phone staleness and robot fix/vel freshness. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>