Drop gpsd support and the GNSS simulator service: the car's GNSS comes over CAN later; /api/gnss/position and the GNSS control stay, fed through GNSS_LATEST
This commit is contained in:
1 parent
09a9d8baba
commit
49900c1703
10 files changed
+22
-133
No files matched your search
+3
-3
@@ -5,11 +5,11 @@ import { isLoggedIn } from "/js/auth.js";
|
||||
const POSITION_URL = "/api/gnss/position";
|
||||
const POLL_INTERVAL_MS = 1500;
|
||||
|
||||
// A sidebar icon that polls /api/gnss/position (backed server-side by a
|
||||
// gpsd connection, see lib/maptool/gpsd_client.rb) and shows the fix as a
|
||||
// A sidebar icon that polls /api/gnss/position (the car's receiver, fed
|
||||
// server-side into GNSS_LATEST in app.rb) and shows the fix as a
|
||||
// marker, with fix status in a flyout. Polling rather than a push channel
|
||||
// is deliberate — see the comment in app.rb next to GNSS_LATEST — and fits
|
||||
// gpsd's own ~1Hz report rate fine.
|
||||
// a receiver's ~1Hz report rate fine.
|
||||
// One follow step for a moving position (this receiver, the browser's own
|
||||
// geolocation). In the 3D (pitched) view it turns heading-up like a car
|
||||
// navigation, with the position in the lower part of the screen; the last
|
||||
|
||||
Reference in new issue
Block a user