3 #include <rsm_msgs/Waypoint.h> 4 #include <rsm_msgs/WaypointArray.h> 5 #include <rsm_msgs/AddWaypoint.h> 6 #include <rsm_msgs/GetWaypoints.h> 7 #include <rsm_msgs/MoveWaypoint.h> 8 #include <rsm_msgs/RemoveWaypoint.h> 9 #include <rsm_msgs/WaypointVisited.h> 10 #include <rsm_msgs/WaypointUnreachable.h> 11 #include <rsm_msgs/SetWaypointFollowingMode.h> 12 #include <rsm_msgs/SetWaypointRoutine.h> 13 #include <rsm_msgs/GetWaypointRoutines.h> 14 #include <std_srvs/Trigger.h> 16 #include <geometry_msgs/Pose.h> 17 #include <geometry_msgs/PoseArray.h> 18 #include <rsm_msgs/SetNavigationGoal.h> 19 #include <rsm_msgs/GetNavigationGoal.h> 20 #include <rsm_msgs/GoalCompleted.h> 21 #include <rsm_msgs/GoalStatus.h> 23 #include <rsm_msgs/GetRobotPose.h> 26 #include <std_srvs/SetBool.h> 27 #include <std_msgs/Bool.h> 29 #include <geometry_msgs/PoseStamped.h> 134 bool addWaypoint(rsm_msgs::AddWaypoint::Request &req,
135 rsm_msgs::AddWaypoint::Response &res);
137 rsm_msgs::GetWaypoints::Response &res);
139 rsm_msgs::MoveWaypoint::Response &res);
141 rsm_msgs::RemoveWaypoint::Response &res);
143 rsm_msgs::WaypointVisited::Response &res);
145 rsm_msgs::WaypointUnreachable::Response &res);
147 std_srvs::Trigger::Response &res);
149 rsm_msgs::SetWaypointFollowingMode::Request &req,
150 rsm_msgs::SetWaypointFollowingMode::Response &res);
152 rsm_msgs::SetWaypointRoutine::Response &res);
154 rsm_msgs::GetWaypointRoutines::Response &res);
158 rsm_msgs::SetNavigationGoal::Response &res);
160 rsm_msgs::GetNavigationGoal::Response &res);
162 rsm_msgs::GoalCompleted::Response &res);
165 rsm_msgs::GetRobotPose::Response &res);
168 std_srvs::Trigger::Response &res);
170 std_srvs::SetBool::Response &res);
176 std_srvs::SetBool::Response &res);
178 std_srvs::Trigger::Response &res);
ros::ServiceServer _waypoint_unreachable_service
ros::ServiceServer _get_reverse_mode_service
bool setWaypointRoutine(rsm_msgs::SetWaypointRoutine::Request &req, rsm_msgs::SetWaypointRoutine::Response &res)
std::vector< std::string > _waypoint_routines
ros::ServiceServer _set_exploration_mode_service
void publishExplorationGoalCompleted()
bool resetWaypoints(std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res)
tf::TransformListener _transform_listener
ros::ServiceServer _get_robot_pose_service
ros::ServiceServer _get_navigation_goal_service
bool NavigationGoalCompleted(rsm_msgs::GoalCompleted::Request &req, rsm_msgs::GoalCompleted::Response &res)
void publishGoalObsolete()
bool getExplorationMode(std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res)
geometry_msgs::Pose _navigation_goal
tf::StampedTransform _transform
ROS transform from map to robot frame.
bool moveWaypoint(rsm_msgs::MoveWaypoint::Request &req, rsm_msgs::MoveWaypoint::Response &res)
ros::ServiceClient _set_navigation_to_reverse_client
bool getWaypointRoutines(rsm_msgs::GetWaypointRoutines::Request &req, rsm_msgs::GetWaypointRoutines::Response &res)
bool getReverseMode(std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res)
ros::ServiceServer _set_navigation_goal_service
ros::ServiceServer _navigation_goal_completed_service
bool addWaypoint(rsm_msgs::AddWaypoint::Request &req, rsm_msgs::AddWaypoint::Response &res)
ros::Publisher _exploration_goal_publisher
ros::ServiceServer _get_exploration_mode_service
ros::ServiceServer _get_waypoints_service
bool getNavigationGoal(rsm_msgs::GetNavigationGoal::Request &req, rsm_msgs::GetNavigationGoal::Response &res)
bool getRobotPose(rsm_msgs::GetRobotPose::Request &req, rsm_msgs::GetRobotPose::Response &res)
void publishExplorationModes()
ros::ServiceServer _set_waypoint_following_mode_service
ros::Publisher _reverse_mode_publisher
ros::Publisher _exploration_mode_publisher
void publishReverseMode()
ros::ServiceServer _set_waypoint_routine_service
ros::ServiceServer _get_waypoint_routines_service
bool setNavigationGoal(rsm_msgs::SetNavigationGoal::Request &req, rsm_msgs::SetNavigationGoal::Response &res)
bool getWaypoints(rsm_msgs::GetWaypoints::Request &req, rsm_msgs::GetWaypoints::Response &res)
ros::ServiceServer _reset_waypoints_service
std::string _robot_frame
Robot frame id.
Establishes communication between the different states and the RSM's periphery including the GUI...
rsm_msgs::WaypointArray _waypoint_array
bool setWaypointFollowingMode(rsm_msgs::SetWaypointFollowingMode::Request &req, rsm_msgs::SetWaypointFollowingMode::Response &res)
bool setExplorationMode(std_srvs::SetBool::Request &req, std_srvs::SetBool::Response &res)
ros::ServiceServer _waypoint_visited_service
bool setReverseMode(std_srvs::SetBool::Request &req, std_srvs::SetBool::Response &res)
ros::ServiceServer _remove_waypoint_service
bool _reverse_mode_active
ros::ServiceServer _add_waypoint_service
bool removeWaypoint(rsm_msgs::RemoveWaypoint::Request &req, rsm_msgs::RemoveWaypoint::Response &res)
ros::ServiceServer _move_waypoint_service
ros::Publisher _waypoints_publisher
ros::ServiceServer _set_reverse_mode_service
rsm_msgs::GoalStatus _exploration_goal_completed_msg
bool waypointUnreachable(rsm_msgs::WaypointUnreachable::Request &req, rsm_msgs::WaypointUnreachable::Response &res)
bool waypointVisited(rsm_msgs::WaypointVisited::Request &req, rsm_msgs::WaypointVisited::Response &res)