Skip to content

Commit b4567e3

Browse files
author
beyza
committed
change angle condition
Signed-off-by: beyza <bnk@leodrive.ai>
1 parent fbbc44c commit b4567e3

File tree

1 file changed

+1
-1
lines changed
  • common/tier4_planning_rviz_plugin/include/tier4_planning_rviz_plugin/path

1 file changed

+1
-1
lines changed

common/tier4_planning_rviz_plugin/include/tier4_planning_rviz_plugin/path/display.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void visualizeBound(
7777

7878
const float diff_angle =
7979
autoware::universe_utils::normalizeRadian(normal_vector_angle - curr_to_next_angle);
80-
if (diff_angle == 0.0) {
80+
if (diff_angle <= 1e-7 && diff_angle >= -1e-7) {
8181
return std::make_pair(normal_vector_angle, width);
8282
}
8383

0 commit comments

Comments
 (0)