13 #ifndef _YOCS_WAYPOINT_PROVIDER_HPP_ 14 #define _YOCS_WAYPOINT_PROVIDER_HPP_ 16 #include <geometry_msgs/Pose.h> 18 #include <visualization_msgs/MarkerArray.h> 19 #include <yocs_msgs/Trajectory.h> 20 #include <yocs_msgs/TrajectoryList.h> 21 #include <yocs_msgs/WaypointListService.h> 22 #include <yocs_msgs/WaypointList.h> 42 yocs_msgs::WaypointListService::Response& response);
45 visualization_msgs::MarkerArray& traj_markers);
46 void createMarkerArrow(
const int i,
const yocs_msgs::Waypoint& wp, visualization_msgs::Marker& marker);
47 void createMarkerLineStrip(
const int i,
const yocs_msgs::Trajectory& traj, visualization_msgs::Marker& marker);
51 const std::string wp_name,
52 const geometry_msgs::Pose wp_pose,
53 visualization_msgs::Marker& marker);
71 #endif // _YOCS_WAYPOINT_PROVIDER_HPP_ ros::Publisher waypoints_marker_pub_
yocs_msgs::WaypointList waypoints_
bool processWaypointsService(yocs_msgs::WaypointListService::Request &request, yocs_msgs::WaypointListService::Response &response)
ros::Publisher trajectories_pub_
yocs_msgs::TrajectoryList trajectories_
void createMarkerLineStrip(const int i, const yocs_msgs::Trajectory &traj, visualization_msgs::Marker &marker)
void generateTrajectoryMarkers(const yocs_msgs::TrajectoryList &trajs, visualization_msgs::MarkerArray &traj_markers)
ros::Publisher waypoints_pub_
void createMarkerLabel(const std::string frame_id, const int id, const std::string ns, const std::string wp_name, const geometry_msgs::Pose wp_pose, visualization_msgs::Marker &marker)
visualization_msgs::MarkerArray waypoint_markers_
ros::Publisher trajectory_marker_pub_
WaypointProvider(ros::NodeHandle &n, yocs_msgs::WaypointList &wps, yocs_msgs::TrajectoryList &trajs)
ros::ServiceServer waypoints_srv_
void createMarkerArrow(const int i, const yocs_msgs::Waypoint &wp, visualization_msgs::Marker &marker)
visualization_msgs::MarkerArray trajectory_markers_
void generateWaypointMarkers(const yocs_msgs::WaypointList &wps, visualization_msgs::MarkerArray &wp_markers)