max accel isn't blueish (#3DFF3D)

pull/27391/head
Shane Smiskol 2 years ago
parent c8188af314
commit fef7c4d337
  1. 2
      selfdrive/ui/qt/onroad.cc

@ -557,7 +557,7 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
start_hue = 60;
// speed up: 120, slow down: 0
end_hue = fmax(fmin(start_hue + acceleration_future * 35, 148), 0);
end_hue = fmax(fmin(start_hue + acceleration_future * 35, 120), 0);
float saturation = std::abs(acceleration_future * 1.5);
saturation = saturation > 1 ? 1. : saturation;

Loading…
Cancel
Save