26#include <geometry_msgs/msg/pose.hpp>
32 Pose2D(
double x,
double y,
double yaw)
68 void setWaypoints(
const std::vector<geometry_msgs::msg::Pose> & waypoints);
70 void setWaypoints(
const std::vector<Pose2D> & waypoints);
72 const std::vector<geometry_msgs::msg::Pose> &
getWaypoints()
const;
74 std::optional<geometry_msgs::msg::Pose>
getNamedPose(std::string name)
const;
75 geometry_msgs::msg::Pose
getPose(
int index)
const;
89 std::string parameter_name, std::string yaml_file_package_name);
94 void insertWaypoint(
int index, geometry_msgs::msg::Pose & newpose);
void setWaypoints(const std::vector< geometry_msgs::msg::Pose > &waypoints)
const std::vector< geometry_msgs::msg::Pose > & getWaypoints() const
void loadWayPointsFromFile2(std::string filepath)
void seekName(std::string name)
CpWaypointNavigatorBase()
std::vector< geometry_msgs::msg::Pose > waypoints_
std::vector< std::string > waypointsNames_
geometry_msgs::msg::Pose getCurrentPose() const
void loadWayPointsFromFile(std::string filepath)
virtual ~CpWaypointNavigatorBase()
std::optional< std::string > getCurrentWaypointName() const
std::optional< geometry_msgs::msg::Pose > getNamedPose(std::string name) const
WaypointEventDispatcher waypointsEventDispatcher
geometry_msgs::msg::Pose getPose(int index) const
const std::vector< std::string > & getWaypointNames() const
void loadWaypointsFromYamlParameter(std::string parameter_name, std::string yaml_file_package_name)
void removeWaypoint(int index)
void insertWaypoint(int index, geometry_msgs::msg::Pose &newpose)
long getCurrentWaypointIndex() const
void onInitialize() override
Pose2D(double x, double y, double yaw)