Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tier4_planning_rviz_plugin): fix calculation of drivable area bounds #7815

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

const float diff_angle =
autoware::universe_utils::normalizeRadian(normal_vector_angle - curr_to_next_angle);
if (diff_angle == 0.0) {
if (diff_angle <= 1e-7 && diff_angle >= -1e-7) {

Check warning on line 80 in common/tier4_planning_rviz_plugin/include/tier4_planning_rviz_plugin/path/display.hpp

View check run for this annotation

Codecov / codecov/patch

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

Added line #L80 was not covered by tests
return std::make_pair(normal_vector_angle, width);
}

Expand Down
Loading