feat: complete dashboard redesign, proxy unification, and Windows compatibility fixes

This commit is contained in:
2026-04-02 12:13:37 +02:00
parent 8192388c5d
commit fec4e4635c
33 changed files with 3002 additions and 135 deletions

View File

@@ -1,20 +1,27 @@
// Simulates a SignalK WebSocket delta stream with realistic Baltic Sea boat data.
// The ship navigates a realistic route around Bornholm Island, Baltic Sea.
// Simulates a SignalK WebSocket delta stream with realistic boat data.
// Route: Lokale Fahrt in Lingen über DEK und Ems (bleibt in der Region)
const INTERVAL_MS = 1000
function degToRad(d) { return d * Math.PI / 180 }
function radToDeg(r) { return r * 180 / Math.PI }
// Realistic sailing route around Bornholm Island, Baltic Sea
// Lokale Route: Lingen Bereich - DEK und Ems (bleibt in der Region)
const WAYPOINTS = [
{ lat: 54.3233, lon: 10.1394, name: 'Kiel Fjord (Start)' },
{ lat: 55.0500, lon: 13.5500, name: 'Bornholm North' },
{ lat: 55.1200, lon: 14.8000, name: 'Rønne Harbor' },
{ lat: 54.9500, lon: 15.2000, name: 'Bornholm East' },
{ lat: 54.5800, lon: 14.9000, name: 'Bornholm South' },
{ lat: 54.1500, lon: 13.2000, name: 'Gdansk Approach' },
{ lat: 54.3233, lon: 10.1394, name: 'Kiel Fjord (Loop)' },
{ lat: 52.5236, lon: 7.3200, name: 'EYC Segelclub Lingen' },
{ lat: 52.5280, lon: 7.3150, name: 'Kanal Ausfahrt' },
{ lat: 52.5400, lon: 7.3000, name: 'DEK Westlich' },
{ lat: 52.5500, lon: 7.2800, name: 'DEK Schleife West' },
{ lat: 52.5600, lon: 7.2700, name: 'DEK Nord' },
{ lat: 52.5700, lon: 7.2800, name: 'Brücke Nord' },
{ lat: 52.5750, lon: 7.3000, name: 'Ems Einfahrt' },
{ lat: 52.5800, lon: 7.3200, name: 'Ems Fluss Ost' },
{ lat: 52.5750, lon: 7.3400, name: 'Ems Kurve' },
{ lat: 52.5650, lon: 7.3500, name: 'Ems Süd' },
{ lat: 52.5500, lon: 7.3450, name: 'Ems Rückkehr' },
{ lat: 52.5400, lon: 7.3350, name: 'Kanal Rückkehr' },
{ lat: 52.5300, lon: 7.3250, name: 'Hafen Approach' },
{ lat: 52.5236, lon: 7.3200, name: 'EYC Segelclub (Ziel)' },
]
// Calculate distance between two coordinates in nautical miles