mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-28 23:53:41 +08:00
Merge remote-tracking branch 'sunnypilot/sunnypilot/master' into feature/slc
This commit is contained in:
@@ -12,8 +12,8 @@ from openpilot.sunnypilot.selfdrive.controls.lib.smart_cruise_control import MIN
|
||||
|
||||
MapState = VisionState = custom.LongitudinalPlanSP.SmartCruiseControl.MapState
|
||||
|
||||
ACTIVE_STATES = (MapState.turning, MapState.overriding)
|
||||
ENABLED_STATES = (MapState.enabled, *ACTIVE_STATES)
|
||||
ACTIVE_STATES = (MapState.turning, )
|
||||
ENABLED_STATES = (MapState.enabled, MapState.overriding, *ACTIVE_STATES)
|
||||
|
||||
R = 6373000.0 # approximate radius of earth in meters
|
||||
TO_RADIANS = math.pi / 180
|
||||
|
||||
Reference in New Issue
Block a user