9 #ifndef TRAJ_PUBLISHER_HPP 10 #define TRAJ_PUBLISHER_HPP 12 #include <nav_msgs/Path.h> 13 #include <geometry_msgs/Pose.h> 62 void load_path(std::string file_name,
float resolution, nav_msgs::Path &path);
ros::NodeHandle nh_
Node handler.
Class to publish hard-coded trajectories.
void load_path(std::string file_name, float resolution, nav_msgs::Path &path)
Loads a path from a text file.
void run_node()
Runs the node.
nav_msgs::Path path_
Path to publish.
void init_node()
Initialises the node and its parameters.
ros::Publisher path_pub_
Publisher for a path.
bool path_loaded_
Whether the path was loaded with success.