mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-24 01:22:05 +08:00
cc47228363
* Cereal: Use custom reserved structs * bump cereal * fix dmonitoring * pandaStateSP & controlsStateSP * LongitudinalPlanSP * LateralPlanSP * LiveMapDataSP * E2eLongStateSP * fixup! LongitudinalPlanSP * fix * LongitudinalPersonality fix * sync with upstream * bump cereal * LongitudinalPersonalitySP fixed * LongitudinalPlanSP fix * no need * bump cereal * bump panda * no longer logs controlsAllowedLong * bump cereal * bump cereal * fix * LiveMapDataSP fix * MSPA (#217) * Cereal: Use custom reserved structs * fix dmonitoring * sync with upstream * bump cereal * bump cereal * fix * bump cereal * fix * unused * check sm valid * bump cereal * MSPA: Unused service (#218) * bump panda * bump panda * bump panda
9 lines
545 B
Python
9 lines
545 B
Python
# Map query config
|
|
|
|
QUERY_RADIUS = 3000 # mts. Radius to use on OSM data queries.
|
|
QUERY_RADIUS_OFFLINE = 2250 # mts. Radius to use on offline OSM data queries.
|
|
MIN_DISTANCE_FOR_NEW_QUERY = 1000 # mts. Minimum distance to query area edge before issuing a new query.
|
|
FULL_STOP_MAX_SPEED = 1.39 # m/s Max speed for considering car is stopped.
|
|
LOOK_AHEAD_HORIZON_TIME = 15. # s. Time horizon for look ahead of turn speed sections to provide on liveMapDataSP msg.
|
|
LANE_WIDTH = 3.7 # Lane width estimate. Used for detecting departures from way.
|