Skip to content

Commit

Permalink
refactor(default_planner): refactor default_planner header not to hid…
Browse files Browse the repository at this point in the history
…e base class public methods (#7041)

refactor(default_planner): move updateRoute and clearRoute functions to be public override

Signed-off-by: Ahmed Ebrahim <[email protected]>
  • Loading branch information
ahmeddesokyebrahim authored May 17, 2024
1 parent 81a75f7 commit 3d849e9
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ class DefaultPlanner : public mission_planner::PlannerPlugin
void initialize(rclcpp::Node * node, const HADMapBin::ConstSharedPtr msg) override;
bool ready() const override;
LaneletRoute plan(const RoutePoints & points) override;
void updateRoute(const PlannerPlugin::LaneletRoute & route) override;
void clearRoute() override;
MarkerArray visualize(const LaneletRoute & route) const override;
MarkerArray visualize_debug_footprint(tier4_autoware_utils::LinearRing2d goal_footprint_) const;
vehicle_info_util::VehicleInfo vehicle_info_;
Expand Down Expand Up @@ -102,9 +104,6 @@ class DefaultPlanner : public mission_planner::PlannerPlugin
* route_sections) and return the z-aligned goal position
*/
Pose refine_goal_height(const Pose & goal, const RouteSections & route_sections);

void updateRoute(const PlannerPlugin::LaneletRoute & route);
void clearRoute();
};

} // namespace mission_planner::lanelet2
Expand Down

0 comments on commit 3d849e9

Please sign in to comment.