Switch personalities via steering wheel / onroad UI

Added toggle to switch between the personalities via the steering wheel or an onroad UI button.

Co-Authored-By: henryccy <104284652+henryccy@users.noreply.github.com>
Co-Authored-By: Jason Jackrel <23621790+thinkpad4by3@users.noreply.github.com>
Co-Authored-By: Eric Brown <13560103+nworb-cire@users.noreply.github.com>
Co-Authored-By: Kevin Robert Keegan <3046315+krkeegan@users.noreply.github.com>
Co-Authored-By: Jacob Pfeifer <jacob@pfeifer.dev>
Co-Authored-By: mike8643 <98910897+mike8643@users.noreply.github.com>
This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent 5dde4a0035
commit b5c72e202b
38 changed files with 339 additions and 35 deletions
+5
View File
@@ -213,6 +213,7 @@ std::unordered_map<std::string, uint32_t> keys = {
{"AccelerationProfile", PERSISTENT},
{"AdjacentPath", PERSISTENT},
{"AdjacentPathMetrics", PERSISTENT},
{"AdjustablePersonalities", PERSISTENT},
{"AggressiveAcceleration", PERSISTENT},
{"AggressiveFollow", PERSISTENT},
{"AggressiveJerk", PERSISTENT},
@@ -346,6 +347,10 @@ std::unordered_map<std::string, uint32_t> keys = {
{"PathWidth", PERSISTENT},
{"PauseLateralOnSignal", PERSISTENT},
{"PedalsOnUI", PERSISTENT},
{"PersonalitiesViaScreen", PERSISTENT},
{"PersonalitiesViaWheel", PERSISTENT},
{"PersonalityChangedViaUI", PERSISTENT},
{"PersonalityChangedViaWheel", PERSISTENT},
{"PreferredSchedule", PERSISTENT},
{"PreviousSpeedLimit", PERSISTENT},
{"PromptVolume", PERSISTENT},