Skip to content

Commit b9d07ef

Browse files
author
KhalilSelyan
committed
fix: set default steering angle to 0.0° when not received
Signed-off-by: KhalilSelyan <khalil@leodrive.ai>
1 parent e7aae90 commit b9d07ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: common/autoware_overlay_rviz_plugin/autoware_overlay_rviz_plugin/src/steering_wheel_display.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void SteeringWheelDisplay::drawSteeringWheel(
100100
steering_angle_ss << std::fixed << std::setprecision(1) << steering_angle_ * 180.0 / M_PI
101101
<< "°";
102102
} else {
103-
steering_angle_ss << "Not received";
103+
steering_angle_ss << "0.0°";
104104
}
105105

106106
QString steeringAngleString = QString::fromStdString(steering_angle_ss.str());

0 commit comments

Comments
 (0)