feat(preview): pause vehicles for traffic signals

This commit is contained in:
2026-08-06 08:39:31 +08:00
parent 8b3a1d79d9
commit 9fbc218e10
5 changed files with 85 additions and 24 deletions

View File

@@ -33,6 +33,8 @@ function buildTrafficSignals(stopLines, intersections) {
phaseGroup: signals.length % 2,
longitude: point[0],
latitude: point[1],
stopLongitude: center[0],
stopLatitude: center[1],
headingDegrees: Math.atan2(axis[0], axis[1]) * 180 / Math.PI,
mastReachMeters: MAST_REACH_METERS,
});