mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-22 00:23:48 +08:00
Torque Lateral Control: Refactor settings (#300)
* Torque Lateral Control: Refactor settings * don't need this * only offroad allowed * Don't need this * allow when offroad * gate them * flipped * handle them better * cleaner * remove duplicate * toggle checks cleanup * 2.5 second check * trigger refresh when going offroad * cleanup * move toggle * update title and description * fix ampersand * update live torque toggle * live torqued every 2.5 second
This commit is contained in:
@@ -259,6 +259,7 @@ std::unordered_map<std::string, uint32_t> keys = {
|
||||
{"LastCarModel", PERSISTENT},
|
||||
{"LastSpeedLimitSignTap", PERSISTENT},
|
||||
{"LiveTorque", PERSISTENT},
|
||||
{"LiveTorqueRelaxed", PERSISTENT},
|
||||
{"LkasToggle", PERSISTENT},
|
||||
{"MadsCruiseMain", PERSISTENT},
|
||||
{"MadsIconToggle", PERSISTENT},
|
||||
@@ -294,6 +295,7 @@ std::unordered_map<std::string, uint32_t> keys = {
|
||||
{"TorqueDeadzoneDeg", PERSISTENT},
|
||||
{"TorqueFriction", PERSISTENT},
|
||||
{"TorqueMaxLatAccel", PERSISTENT},
|
||||
{"TorquedOverride", PERSISTENT},
|
||||
{"ToyotaSnG", PERSISTENT},
|
||||
{"ToyotaTSS2Long", PERSISTENT},
|
||||
{"TrueVEgoUi", PERSISTENT},
|
||||
|
||||
Reference in New Issue
Block a user