wip
This commit is contained in:
@@ -43,36 +43,35 @@ FrogPilotButtonIconControl::FrogPilotButtonIconControl(const QString &title, con
|
||||
|
||||
void setDefaultParams() {
|
||||
Params params = Params();
|
||||
bool FrogsGoMoo = params.get("DongleId").substr(0, 3) == "be6";
|
||||
|
||||
bool FrogsGoMoo = false;
|
||||
|
||||
// bool elite_mode = params.get("DongleId").substr(0, 6) == "90bb71";
|
||||
bool brianbot = params.get("DongleId").substr(0, 6) == "90bb71";
|
||||
|
||||
std::map<std::string, std::string> defaultValues {
|
||||
{"AccelerationPath", "0"}, // NOTE: Should be one if using OPLong
|
||||
{"AccelerationProfile", "2"},
|
||||
{"AdjacentPath", "0"}, // Test?
|
||||
{"AccelerationPath", brianbot ? "1" : "0"},
|
||||
{"AccelerationProfile", brianbot ? "2" : "2"},
|
||||
{"AdjacentPath", FrogsGoMoo ? "1" : "0"},
|
||||
{"AdjustablePersonalities", "0"},
|
||||
{"AggressiveAcceleration", "1"},
|
||||
{"AggressiveFollow", "12"},
|
||||
{"AggressiveJerk", "5"},
|
||||
{"AggressiveFollow", FrogsGoMoo ? "10" : "12"},
|
||||
{"AggressiveJerk", FrogsGoMoo ? "6" : "5"},
|
||||
{"AlwaysOnLateral", "1"},
|
||||
{"AlwaysOnLateralMain", "1"},
|
||||
{"AverageCurvature", "1"},
|
||||
{"AlwaysOnLateralMain", brianbot ? "1" : "0"},
|
||||
{"AverageCurvature", brianbot ? "1" : "0"},
|
||||
{"BlindSpotPath", "1"},
|
||||
{"CameraView", "0"},
|
||||
{"CameraView", FrogsGoMoo ? "1" : "0"},
|
||||
{"CECurves", "1"},
|
||||
{"CECurvesLead", "1"},
|
||||
{"CECurvesLead", "0"},
|
||||
{"CENavigation", "1"},
|
||||
{"CESignal", "0"},
|
||||
{"CESignal", "1"},
|
||||
{"CESlowerLead", "0"},
|
||||
{"CESpeed", "0"},
|
||||
{"CESpeedLead", "0"},
|
||||
{"CEStopLights", "0"},
|
||||
{"CEStopLightsLead", "0"},
|
||||
{"Compass", "0"},
|
||||
{"CEStopLightsLead", FrogsGoMoo ? "0" : "0"},
|
||||
{"Compass", FrogsGoMoo ? "1" : "0"},
|
||||
{"ConditionalExperimental", "1"},
|
||||
{"CurveSensitivity", "125"}, // was 100
|
||||
{"CurveSensitivity", FrogsGoMoo ? "125" : "100"},
|
||||
{"CustomColors", "1"},
|
||||
{"CustomIcons", "1"},
|
||||
{"CustomPersonalities", "0"},
|
||||
@@ -85,10 +84,10 @@ void setDefaultParams() {
|
||||
{"DriverCamera", "0"},
|
||||
{"DriveStats", "1"},
|
||||
{"EVTable", FrogsGoMoo ? "0" : "1"},
|
||||
{"ExperimentalModeActivation", "0"},
|
||||
{"ExperimentalModeActivation", "1"},
|
||||
{"ExperimentalModeViaLKAS", "0"},
|
||||
{"ExperimentalModeViaScreen", "0"},
|
||||
{"Fahrenheit", "1"},
|
||||
{"ExperimentalModeViaScreen", FrogsGoMoo ? "0" : "1"},
|
||||
{"Fahrenheit", "0"},
|
||||
{"FireTheBabysitter", FrogsGoMoo ? "1" : "0"},
|
||||
{"FullMap", "0"},
|
||||
{"GasRegenCmd", "0"},
|
||||
@@ -108,11 +107,11 @@ void setDefaultParams() {
|
||||
{"Model", "3"},
|
||||
{"ModelUI", "1"},
|
||||
{"MTSCEnabled", "1"},
|
||||
{"MuteDM", "1"},
|
||||
{"MuteDoor", "1"},
|
||||
{"MuteOverheated", "0"},
|
||||
{"MuteSeatbelt", "1"},
|
||||
{"NNFF", "1"},
|
||||
{"MuteDM", FrogsGoMoo ? "1" : "1"},
|
||||
{"MuteDoor", FrogsGoMoo ? "1" : "1"},
|
||||
{"MuteOverheated", FrogsGoMoo ? "1" : "0"},
|
||||
{"MuteSeatbelt", FrogsGoMoo ? "1" : "0"},
|
||||
{"NNFF", FrogsGoMoo ? "1" : "1"},
|
||||
{"NoLogging", "1"},
|
||||
{"NudgelessLaneChange", "0"},
|
||||
{"NumericalTemp", FrogsGoMoo ? "1" : "0"},
|
||||
@@ -127,7 +126,7 @@ void setDefaultParams() {
|
||||
{"PreferredSchedule", "0"},
|
||||
{"QOLControls", "1"},
|
||||
{"QOLVisuals", "1"},
|
||||
{"RandomEvents", "0"},
|
||||
{"RandomEvents", FrogsGoMoo ? "1" : "0"},
|
||||
{"RelaxedFollow", "30"},
|
||||
{"RelaxedJerk", "50"},
|
||||
{"ReverseCruise", "0"},
|
||||
@@ -136,11 +135,11 @@ void setDefaultParams() {
|
||||
{"RotatingWheel", "1"},
|
||||
{"ScreenBrightness", "101"},
|
||||
{"SearchInput", "0"},
|
||||
{"ShowCPU", "0"},
|
||||
{"ShowFPS", "0"},
|
||||
{"ShowCPU", FrogsGoMoo ? "1" : "0"},
|
||||
{"ShowFPS", FrogsGoMoo ? "1" : "0"},
|
||||
{"ShowGPU", "0"},
|
||||
{"ShowMemoryUsage", "0"},
|
||||
{"Sidebar", "0"},
|
||||
{"ShowMemoryUsage", FrogsGoMoo ? "1" : "0"},
|
||||
{"Sidebar", FrogsGoMoo ? "1" : "0"},
|
||||
{"SilentMode", "0"},
|
||||
{"SLCFallback", "2"},
|
||||
{"SLCOverride", FrogsGoMoo ? "2" : "1"},
|
||||
@@ -158,9 +157,7 @@ void setDefaultParams() {
|
||||
{"UseSI", FrogsGoMoo ? "1" : "0"},
|
||||
{"UseVienna", "0"},
|
||||
{"VisionTurnControl", "1"},
|
||||
{"WheelIcon", "0"},
|
||||
{"IsLdwEnabled", "1"},
|
||||
{"RecordFront", "0"}
|
||||
{"WheelIcon", FrogsGoMoo ? "1" : "0"}
|
||||
};
|
||||
|
||||
bool rebootRequired = false;
|
||||
|
||||
Reference in New Issue
Block a user