1 #ifndef WAYPOINTFOLLOWINGSTATE_H 2 #define WAYPOINTFOLLOWINGSTATE_H 4 #include <rsm_msgs/WaypointArray.h> 5 #include <rsm_msgs/GetWaypoints.h> 6 #include <rsm_msgs/SetWaypointFollowingMode.h> 7 #include <rsm_msgs/WaypointVisited.h> 8 #include <std_srvs/Trigger.h> 9 #include <rsm_msgs/SetNavigationGoal.h>
~WaypointFollowingState()
ros::ServiceClient _set_waypoint_following_mode_service
void onInterrupt(int interrupt)
Called when an operation mode interrupt was received.
void onWaypointFollowingStart(bool &success, std::string &message)
void onExplorationStop(bool &success, std::string &message)
ros::ServiceClient _waypoint_visited_service
rsm_msgs::WaypointArray _waypoint_array
void onExplorationStart(bool &success, std::string &message)
void abortWaypointFollowing()
int _next_waypoint_position
void setCurrentWaypointVisited()
ros::ServiceClient _reset_waypoints_service
State to decide which waypoint will be the next navigation goal while in waypoint following mode...
ros::ServiceClient _get_waypoints_service
void onWaypointFollowingStop(bool &success, std::string &message)
ros::ServiceClient _set_navigation_goal_service