feat(preview): pause vehicles for traffic signals

This commit is contained in:
que01 committed 2026-08-06 17:01:36 +08:00
1 parent 8b3a1d79d9
commit 9fbc218e10
5 files changed
+85 -24

No files matched your search

+2
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,
});