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:
FrogAi
2024-02-27 16:34:47 -07:00
parent f4726bf095
commit ae0f095915
5 changed files with 24 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ private:
std::set<QString> gmKeys = {"GasRegenCmd", "LongPitch"};
std::set<QString> subaruKeys = {};
std::set<QString> toyotaKeys = {"LongitudinalTune"};
std::set<QString> toyotaKeys = {"LockDoors", "LongitudinalTune"};
Params params;
Params paramsMemory{"/dev/shm/params"};