17 lines
589 B
Python
17 lines
589 B
Python
"""
|
|
Copyright © IQ.Lvbs, apart of Project Teal Lvbs, All Rights Reserved, licensed under https://konn3kt.com/tos
|
|
"""
|
|
LIMIT_ADAPT_ACC = -1. # m/s^2 Ideal acceleration for the adapting (braking) phase when approaching speed limits.
|
|
LIMIT_MAX_MAP_DATA_AGE = 10. # s Maximum time to hold to map data, then consider it invalid inside limits controllers.
|
|
|
|
# Speed Limit Control constants
|
|
PCM_LONG_REQUIRED_MAX_SET_SPEED = {
|
|
True: (33.3333, 36.1111), # km/h, (120, 130)
|
|
False: (31.2928, 35.7632), # mph, (70, 80)
|
|
}
|
|
|
|
CONFIRM_SPEED_THRESHOLD = {
|
|
True: 80, # km/h
|
|
False: 50, # mph
|
|
}
|