Skip to content

Commit

Permalink
do not publish looped-route
Browse files Browse the repository at this point in the history
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
  • Loading branch information
tkimura4 committed Aug 29, 2022
1 parent cffb5b0 commit ae1037a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ autoware_auto_planning_msgs::msg::HADMapRoute MissionPlannerLanelet2::planRoute(
}

if (route_handler_.isRouteLooped(route_sections)) {
RCLCPP_WARN(
get_logger(), "Loop detected within route! Be aware that looped route is not debugged!");
RCLCPP_WARN(get_logger(), "Loop detected within route!");
return route_msg;
}

refineGoalHeight(route_sections);
Expand Down

0 comments on commit ae1037a

Please sign in to comment.