Navigate on openpilot without a comma prime subscription

Added functionality to use navigate on openpilot without a comma prime subscription with a custom set MapBox key.

Credit goes to DragonPilot!

https: //github.com/dragonpilot-community
This commit is contained in:
FrogAi
2024-01-12 22:39:30 -07:00
parent ae99774cf3
commit 7c2814329d
15 changed files with 297 additions and 5 deletions

View File

@@ -220,6 +220,8 @@ std::unordered_map<std::string, uint32_t> keys = {
{"AggressiveJerk", PERSISTENT},
{"AlwaysOnLateral", PERSISTENT},
{"AlwaysOnLateralMain", PERSISTENT},
{"AMapKey1", PERSISTENT},
{"AMapKey2", PERSISTENT},
{"ApiCache_DriveStats", PERSISTENT},
{"AverageCurvature", PERSISTENT},
{"BlindSpotPath", PERSISTENT},
@@ -252,6 +254,7 @@ std::unordered_map<std::string, uint32_t> keys = {
{"FireTheBabysitter", PERSISTENT},
{"FrogPilotTogglesUpdated", PERSISTENT},
{"GasRegenCmd", PERSISTENT},
{"GMapKey", PERSISTENT},
{"GoatScream", PERSISTENT},
{"GreenLightAlert", PERSISTENT},
{"HideSpeed", PERSISTENT},
@@ -262,6 +265,8 @@ std::unordered_map<std::string, uint32_t> keys = {
{"LongitudinalTune", PERSISTENT},
{"LongPitch", PERSISTENT},
{"LowerVolt", PERSISTENT},
{"MapboxPublicKey", PERSISTENT},
{"MapboxSecretKey", PERSISTENT},
{"MapTargetVelocities", PERSISTENT},
{"Model", PERSISTENT},
{"ModelList", PERSISTENT},
@@ -272,6 +277,7 @@ std::unordered_map<std::string, uint32_t> keys = {
{"MuteDoor", PERSISTENT},
{"MuteOverheated", PERSISTENT},
{"MuteSeatbelt", PERSISTENT},
{"NavEnable", PERSISTENT},
{"NoLogging", PERSISTENT},
{"OfflineMode", PERSISTENT},
{"PathEdgeWidth", PERSISTENT},
@@ -281,6 +287,7 @@ std::unordered_map<std::string, uint32_t> keys = {
{"ReverseCruise", PERSISTENT},
{"RoadEdgesWidth", PERSISTENT},
{"ScreenBrightness", PERSISTENT},
{"SearchInput", PERSISTENT},
{"ShowCPU", PERSISTENT},
{"ShowFPS", PERSISTENT},
{"ShowGPU", PERSISTENT},