Lock doors when in drive for Toyota/Lexus
Added toggle to automatically lock the doors when in drive for Toyota/Lexus vehicles. Credit goes to AlexandreSato! https: //github.com/AlexandreSato/openpilot Co-Authored-By: Alexandre Nobuharu Sato <66435071+alexandresato@users.noreply.github.com>
This commit is contained in:
@@ -1073,6 +1073,7 @@ class Controls:
|
||||
lateral_tune = self.params.get_bool("LateralTune")
|
||||
self.force_auto_tune = lateral_tune and self.params.get_float("ForceAutoTune")
|
||||
|
||||
self.frogpilot_variables.lock_doors = self.params.get_bool("LockDoors")
|
||||
self.frogpilot_variables.long_pitch = self.params.get_bool("LongPitch")
|
||||
|
||||
longitudinal_tune = self.params.get_bool("LongitudinalTune")
|
||||
|
||||
Reference in New Issue
Block a user