Skip to content

Commit 99527ba

Browse files
author
KhalilSelyan
committed
fix: 0-70% light red 70%-100% interpolate to red
Signed-off-by: KhalilSelyan <khalil@leodrive.ai>
1 parent 005b413 commit 99527ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/autoware_overlay_rviz_plugin/autoware_overlay_rviz_plugin/src/speed_limit_display.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void SpeedLimitDisplay::drawSpeedLimitIndicator(QPainter & painter, const QRectF
8080
// Calculate the ratio between the current speed and the speed limit
8181
double speed_to_limit_ratio = current_speed_ / current_limit;
8282

83-
QColor borderColor = gray;
83+
QColor borderColor = colorMin;
8484

8585
if (speed_to_limit_ratio > 0.7 && current_limit > 0.0) {
8686
// Adjust the interpolation to start more gradually

0 commit comments

Comments
 (0)