From 2560718b3945d1d581fb9d95f39ee88b43a13403 Mon Sep 17 00:00:00 2001 From: sl-webui Date: Fri, 3 Apr 2026 18:12:37 -0400 Subject: [PATCH 1/3] feat: Sul-Tee GPS live tracking dashboard (Issue #709) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ui/sultee-tracker.html | 620 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 620 insertions(+) create mode 100644 ui/sultee-tracker.html diff --git a/ui/sultee-tracker.html b/ui/sultee-tracker.html new file mode 100644 index 0000000..5a01686 --- /dev/null +++ b/ui/sultee-tracker.html @@ -0,0 +1,620 @@ + + + + + +Sul-Tee GPS Tracker + + + + + + + + + + + + + +
+ + +
+
+
+ + +
+
+ + + +
+ + +
+
WS
+
MSGS0
+
TRAIL PTS0
+ No data yet +
+ + + + From bb354336c35a7a4dbaf3204508c7775d667386ac Mon Sep 17 00:00:00 2001 From: sl-webui Date: Fri, 3 Apr 2026 22:38:28 -0400 Subject: [PATCH 2/3] =?UTF-8?q?feat(sultee-tracker):=20add=20dual=20device?= =?UTF-8?q?=20map=20=E2=80=94=20phone=20(blue)=20+=20robot=20(orange)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ui/sultee-tracker.html | 606 +++++++++++++++++++++++++++-------------- 1 file changed, 403 insertions(+), 203 deletions(-) diff --git a/ui/sultee-tracker.html b/ui/sultee-tracker.html index 5a01686..0d24c74 100644 --- a/ui/sultee-tracker.html +++ b/ui/sultee-tracker.html @@ -8,6 +8,8 @@ + +