This commit is contained in:
Your Name
2024-05-18 02:23:13 -05:00
parent 9c3530349a
commit ad5f80f524
3 changed files with 3 additions and 3 deletions

View File

@@ -234,7 +234,7 @@ std::unordered_map<std::string, uint32_t> keys = {
{"CarSpeedLimit", PERSISTENT},
{"CarSpeedLimitLiteral", PERSISTENT},
{"SpeedLimitLatDesired", PERSISTENT},
("adjustedCruise", PERSISTENT),
("AdjustedCruise", PERSISTENT),
{"CECurves", PERSISTENT},
{"CECurvesLead", PERSISTENT},
{"CENavigation", PERSISTENT},

View File

@@ -274,7 +274,7 @@ class FrogPilotPlanner:
frogpilotPlan.vtscControllingCurve = bool(self.mtsc_target > self.vtsc_target)
self.params_memory.set_int("adjustedCruise", frogpilotPlan.adjustedCruise)
self.params_memory.set_int("AdjustedCruise", frogpilotPlan.adjustedCruise)
pm.send('frogpilotPlan', frogpilot_plan_send)

View File

@@ -453,7 +453,7 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) {
drawSpeedWidget(p, 60, 45 + (225 * 2), QString("Exp"), SpeedLimitLatDesired, QColor(0xff, 0xff, 0xff));
// Todo: needs to be changed to calculate off of actual speed limit for release
QString adjustedCruise = QString::number(paramsMemory.getInt("adjustedCruise"));
QString adjustedCruise = QString::number(paramsMemory.getInt("AdjustedCruise"));
drawSpeedWidget(p, 60, 45 + (225 * 3), QString("VTSC"), adjustedCruise, QColor(0xff, 0xff, 0xff));
// Todo: lead speed