Temporary GM longitudinal fixes

This commit is contained in:
FrogAi
2024-07-31 13:03:33 -07:00
parent 38fd328f5a
commit bbd3bdc33a
9 changed files with 171 additions and 20 deletions
@@ -139,6 +139,7 @@ FrogPilotVehiclesPanel::FrogPilotVehiclesPanel(SettingsWindow *parent) : FrogPil
std::vector<std::tuple<QString, QString, QString, QString>> vehicleToggles {
{"LongPitch", tr("Long Pitch Compensation"), tr("Smoothen out the gas and pedal controls."), ""},
{"VoltSNG", tr("2017 Volt SNG"), tr("Enable the 'Stop and Go' hack for 2017 Chevy Volts."), ""},
{"NewLongAPIGM", tr("Use comma's New Longitudinal API"), tr("Use comma's new longitudinal controls that have shown great improvement with acceleration and braking, but has a few issues on some GM vehicles."), ""},
{"CrosstrekTorque", tr("Subaru Crosstrek Torque Increase"), tr("Increases the maximum allowed torque for the Subaru Crosstrek."), ""},
@@ -31,7 +31,7 @@ private:
QMap<QString, QString> carModels;
std::set<QString> gmKeys = {"LongPitch", "VoltSNG"};
std::set<QString> gmKeys = {"LongPitch", "NewLongAPIGM", "VoltSNG"};
std::set<QString> subaruKeys = {"CrosstrekTorque"};
std::set<QString> toyotaKeys = {"ClusterOffset", "SNGHack", "ToyotaDoors", "ToyotaTune"};