This commit is contained in:
Your Name
2024-05-18 00:34:43 -05:00
parent 41b4f73622
commit c67adbc5ed

View File

@@ -444,7 +444,8 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) {
drawSpeedWidget(p, 60, 45, QString("MAX"), setSpeedStr, QColor(0xff, 0xff, 0xff)); drawSpeedWidget(p, 60, 45, QString("MAX"), setSpeedStr, QColor(0xff, 0xff, 0xff));
// } // }
QString speedLimitStr = QString::fromStdString(paramsMemory.get()); // Todo: needs to be changed to calculate off of actual speed limit for release
QString speedLimitStr = QString::fromStdString(paramsMemory.get("CarSpeedLimitLiteral"));
drawSpeedWidget(p, 60, 45 + (225), QString("Limit"), CarSpeedLimitLiteral, QColor(0xff, 0xff, 0xff)); drawSpeedWidget(p, 60, 45 + (225), QString("Limit"), CarSpeedLimitLiteral, QColor(0xff, 0xff, 0xff));
// Todo: lead speed // Todo: lead speed