feat(preview): pause vehicles for traffic signals
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user