Toyota stop and go hack

Added toggle to force stop and go for Toyota vehicles.
This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent 6fe645e21c
commit 1c58cd07ec
5 changed files with 5 additions and 2 deletions

View File

@@ -118,6 +118,7 @@ FrogPilotVehiclesPanel::FrogPilotVehiclesPanel(SettingsWindow *parent) : FrogPil
{"LockDoors", "Lock Doors In Drive", "Automatically lock the doors when in drive and unlock when in park.", ""},
{"LongitudinalTune", "Longitudinal Tune", "Use a custom Toyota longitudinal tune.\n\nCydia = More focused on TSS-P vehicles but works for all Toyotas\n\nDragonPilot = Focused on TSS2 vehicles\n\nFrogPilot = Takes the best of both worlds with some personal tweaks focused around my 2019 Lexus ES 350", ""},
{"SNGHack", "Stop and Go Hack", "Enable the 'Stop and Go' hack for vehicles without stock stop and go functionality.", ""},
};
for (const auto &[param, title, desc, icon] : vehicleToggles) {

View File

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