We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bedd1e commit 9836f29Copy full SHA for 9836f29
common/tier4_planning_rviz_plugin/include/tier4_planning_rviz_plugin/path/display.hpp
@@ -77,7 +77,7 @@ void visualizeBound(
77
78
const float diff_angle =
79
autoware::universe_utils::normalizeRadian(normal_vector_angle - curr_to_next_angle);
80
- if (diff_angle == 0.0) {
+ if (diff_angle <= 1e-7 && diff_angle >= -1e-7) {
81
return std::make_pair(normal_vector_angle, width);
82
}
83
0 commit comments