Skip to content

Commit 3d849e9

Browse files
refactor(default_planner): refactor default_planner header not to hide base class public methods (#7041)
refactor(default_planner): move updateRoute and clearRoute functions to be public override Signed-off-by: Ahmed Ebrahim <ahmed.ebrahim@leodrive.ai>
1 parent 81a75f7 commit 3d849e9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

planning/mission_planner/src/lanelet2_plugins/default_planner.hpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ class DefaultPlanner : public mission_planner::PlannerPlugin
4848
void initialize(rclcpp::Node * node, const HADMapBin::ConstSharedPtr msg) override;
4949
bool ready() const override;
5050
LaneletRoute plan(const RoutePoints & points) override;
51+
void updateRoute(const PlannerPlugin::LaneletRoute & route) override;
52+
void clearRoute() override;
5153
MarkerArray visualize(const LaneletRoute & route) const override;
5254
MarkerArray visualize_debug_footprint(tier4_autoware_utils::LinearRing2d goal_footprint_) const;
5355
vehicle_info_util::VehicleInfo vehicle_info_;
@@ -102,9 +104,6 @@ class DefaultPlanner : public mission_planner::PlannerPlugin
102104
* route_sections) and return the z-aligned goal position
103105
*/
104106
Pose refine_goal_height(const Pose & goal, const RouteSections & route_sections);
105-
106-
void updateRoute(const PlannerPlugin::LaneletRoute & route);
107-
void clearRoute();
108107
};
109108

110109
} // namespace mission_planner::lanelet2

0 commit comments

Comments
 (0)