GM long pitch compensation

Co-Authored-By: Tim Wilson <7284371+twilsonco@users.noreply.github.com>
This commit is contained in:
FrogAi
2024-01-12 22:39:30 -07:00
parent dff4915313
commit 7151cd1c56
3 changed files with 29 additions and 3 deletions

View File

@@ -100,6 +100,7 @@ FrogPilotVehiclesPanel::FrogPilotVehiclesPanel(SettingsWindow *parent) : FrogPil
std::vector<std::tuple<QString, QString, QString, QString>> vehicleToggles {
{"GasRegenCmd", "Gas Regen Cmd", "", ""},
{"LongPitch", "Long Pitch Compensation", "Reduce speed and acceleration error for greater passenger comfort and improved vehicle efficiency.", ""},
};
for (auto &[param, title, desc, icon] : vehicleToggles) {
@@ -114,7 +115,7 @@ FrogPilotVehiclesPanel::FrogPilotVehiclesPanel(SettingsWindow *parent) : FrogPil
});
}
gmKeys = {"GasRegenCmd"};
gmKeys = {"GasRegenCmd", "LongPitch"};
toyotaKeys = {};
std::set<std::string> rebootKeys = {};