更改 safetycheck 預設值

This commit is contained in:
Rick Lan
2019-07-02 16:25:46 +10:00
parent c345bb1d8f
commit 13ae651f46
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ class DriverStatus():
not (standstill and self.awareness - self.step_change <= self.threshold_prompt):
self.awareness = max(self.awareness - self.step_change, -0.1)
if params.get("DragonDisableDriverSafetyCheck") == "1":
if params.get("DragonDisableDriverSafetyCheck") == "0":
alert = None
if self.awareness <= 0.:
# terminal red alert: disengagement required
+1 -1
View File
@@ -7,7 +7,7 @@
default_conf = {
'DragonEnableDashcam': '1',
'DragonDisableDriverSafetyCheck': '1',
'DragonDisableDriverSafetyCheck': '0',
'DragonAutoShutdownAt': '30', # in minute
'DragonTempDisableSteerOnSignal': '0',
}