mirror of https://github.com/commaai/openpilot.git
Remove dashcam override param (#27509)
* remove dashcam override * sort * remove ford from segments
This commit is contained in:
parent
fd2e03decf
commit
e729f5b763
|
@ -99,7 +99,6 @@ std::unordered_map<std::string, uint32_t> keys = {
|
|||
{"CompletedTrainingVersion", PERSISTENT},
|
||||
{"ControlsReady", CLEAR_ON_MANAGER_START | CLEAR_ON_IGNITION_ON},
|
||||
{"CurrentRoute", CLEAR_ON_MANAGER_START | CLEAR_ON_IGNITION_ON},
|
||||
{"DashcamOverride", PERSISTENT},
|
||||
{"DisableLogging", CLEAR_ON_MANAGER_START | CLEAR_ON_IGNITION_ON},
|
||||
{"DisablePowerDown", PERSISTENT},
|
||||
{"ExperimentalMode", PERSISTENT},
|
||||
|
|
|
@ -112,9 +112,6 @@ class Controls:
|
|||
if not self.disengage_on_accelerator:
|
||||
self.CP.alternativeExperience |= ALTERNATIVE_EXPERIENCE.DISABLE_DISENGAGE_ON_GAS
|
||||
|
||||
if self.CP.dashcamOnly and self.params.get_bool("DashcamOverride"):
|
||||
self.CP.dashcamOnly = False
|
||||
|
||||
# read params
|
||||
self.is_metric = self.params.get_bool("IsMetric")
|
||||
self.is_ldw_enabled = self.params.get_bool("IsLdwEnabled")
|
||||
|
|
|
@ -449,9 +449,6 @@ def setup_env(simulation=False, CP=None, cfg=None, controlsState=None):
|
|||
if CP.openpilotLongitudinalControl:
|
||||
params.put_bool("ExperimentalLongitudinalEnabled", True)
|
||||
|
||||
# controlsd process configuration assume all routes are out of dashcam
|
||||
params.put_bool("DashcamOverride", True)
|
||||
|
||||
|
||||
def python_replay_process(cfg, lr, fingerprint=None):
|
||||
sub_sockets = [s for _, sub in cfg.pub_sub.items() for s in sub]
|
||||
|
|
|
@ -29,12 +29,12 @@ source_segments = [
|
|||
("SUBARU", "341dccd5359e3c97|2022-09-12--10-35-33--3"), # SUBARU.OUTBACK
|
||||
("GM", "0c58b6a25109da2b|2021-02-23--16-35-50--11"), # GM.VOLT
|
||||
("GM2", "376bf99325883932|2022-10-27--13-41-22--1"), # GM.BOLT_EUV
|
||||
("FORD", "54827bf84c38b14f|2023-01-26--21-59-07--4"), # FORD.BRONCO_SPORT_MK1
|
||||
("NISSAN", "35336926920f3571|2021-02-12--18-38-48--46"), # NISSAN.XTRAIL
|
||||
("VOLKSWAGEN", "de9592456ad7d144|2021-06-29--11-00-15--6"), # VOLKSWAGEN.GOLF
|
||||
("MAZDA", "bd6a637565e91581|2021-10-30--15-14-53--4"), # MAZDA.CX9_2021
|
||||
|
||||
# Enable when port is tested and dashcamOnly is no longer set
|
||||
#("FORD", "54827bf84c38b14f|2023-01-26--21-59-07--4"), # FORD.BRONCO_SPORT_MK1
|
||||
#("TESLA", "bb50caf5f0945ab1|2021-06-19--17-20-18--3"), # TESLA.AP2_MODELS
|
||||
#("VOLKSWAGEN2", "3cfdec54aa035f3f|2022-07-19--23-45-10--2"), # VOLKSWAGEN.PASSAT_NMS
|
||||
]
|
||||
|
@ -53,7 +53,6 @@ segments = [
|
|||
("SUBARU", "regen1E72BBDCED5|2022-09-27--15-55-31--0"),
|
||||
("GM", "regen45B05A80EF6|2022-09-27--15-57-22--0"),
|
||||
("GM2", "376bf99325883932|2022-10-27--13-41-22--1"),
|
||||
("FORD", "54827bf84c38b14f|2023-01-26--21-59-07--4"),
|
||||
("NISSAN", "regenC19D899B46D|2022-09-27--15-59-13--0"),
|
||||
("VOLKSWAGEN", "regenD8F7AC4BD0D|2022-09-27--16-41-45--0"),
|
||||
("MAZDA", "regenFC3F9ECBB64|2022-09-27--16-03-09--0"),
|
||||
|
|
Loading…
Reference in New Issue