Skip to content

Commit

Permalink
Merge branch 'beta/v0.19.1' into publish_control_mode_before_ego_pos
Browse files Browse the repository at this point in the history
  • Loading branch information
TomohitoAndo authored May 16, 2024
2 parents 44f32fe + 61ab202 commit fde35b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions planning/obstacle_cruise_planner/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1181,6 +1181,14 @@ std::optional<SlowDownObstacle> ObstacleCruisePlannerNode::createSlowDownObstacl
if (id == 0) {
continue;
}

if (!route_handler_->getLaneletMapPtr()->polygonLayer.exists(id)) {
RCLCPP_DEBUG(
rclcpp::get_logger("ObstacleCruisePlanner"),
"Specified Lanelet polygon id [%ld] is not exsit in the map", id);

Check warning on line 1188 in planning/obstacle_cruise_planner/src/node.cpp

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (exsit)

Check warning on line 1188 in planning/obstacle_cruise_planner/src/node.cpp

View workflow job for this annotation

GitHub Actions / spell-check-partial

Unknown word (exsit)
continue;
}

const auto intersection_poly =
lanelet::utils::to2D(route_handler_->getLaneletMapPtr()->polygonLayer.get(id))
.basicPolygon();
Expand Down

0 comments on commit fde35b7

Please sign in to comment.