File tree 2 files changed +6
-6
lines changed
planning/mission_planner/src/lanelet2_plugins
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -75,15 +75,15 @@ class DefaultPlanner : public mission_planner::PlannerPlugin
75
75
/* *
76
76
* @brief check if the goal_footprint is within the combined lanelet of route_lanelets plus the
77
77
* succeeding lanelets around the goal
78
- * @attetion this function will terminate when the accumulated search length from the initial
79
- * current_lanelet execeeds max_longitudinal_offset_m + search_margin, so under normal assumptions
78
+ * @attention this function will terminate when the accumulated search length from the initial
79
+ * current_lanelet exceeds max_longitudinal_offset_m + search_margin, so under normal assumptions
80
80
* (i.e. the map is composed of finite elements of practically normal sized lanelets), it is
81
81
* assured to terminate
82
82
* @param current_lanelet the start lanelet to begin recursive query
83
83
* @param combined_prev_lanelet initial entire route_lanelets plus the small consecutive lanelets
84
84
* around the goal during the query
85
- * @param next_lane_length the accumulated total legth from the start lanelet of the search to the
86
- * lanelet of current goal query
85
+ * @param next_lane_length the accumulated total length from the start lanelet of the search to
86
+ * the lanelet of current goal query
87
87
*/
88
88
bool check_goal_footprint_inside_lanes (
89
89
const lanelet::ConstLanelet & current_lanelet,
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ lanelet::ConstLanelet combine_lanelets_with_shoulder(
84
84
} else if (
85
85
// if not exist, add left bound of lanelet to lefts
86
86
// if the **left** of this lanelet does not match any of the **right** bounds of `lanelets`,
87
- // then its left bound consitutes the left boundary of the entire merged lanelet
87
+ // then its left bound constitutes the left boundary of the entire merged lanelet
88
88
std::count (right_bound_ids.begin (), right_bound_ids.end (), llt.leftBound ().id ()) < 1 ) {
89
89
add_bound (llt.leftBound (), lefts);
90
90
}
@@ -98,7 +98,7 @@ lanelet::ConstLanelet combine_lanelets_with_shoulder(
98
98
} else if (
99
99
// if not exist, add right bound of lanelet to rights
100
100
// if the **right** of this lanelet does not match any of the **left** bounds of `lanelets`,
101
- // then its right bound consitutes the right bondary of the entire merged lanelet
101
+ // then its right bound constitutes the right boundary of the entire merged lanelet
102
102
std::count (left_bound_ids.begin (), left_bound_ids.end (), llt.rightBound ().id ()) < 1 ) {
103
103
add_bound (llt.rightBound (), rights);
104
104
}
You can’t perform that action at this time.
0 commit comments