AdditionsServiceProvider.h
Go to the documentation of this file.
1 #include <ros/ros.h>
2 
3 #include <geometry_msgs/Pose.h>
4 #include <geometry_msgs/PoseArray.h>
5 #include <visualization_msgs/Marker.h>
6 #include <visualization_msgs/MarkerArray.h>
7 
8 #include <std_srvs/SetBool.h>
9 #include <geometry_msgs/Twist.h>
10 
11 #include <std_srvs/Trigger.h>
12 #include <std_msgs/Float64.h>
13 
14 #include <move_base_msgs/MoveBaseAction.h>
16 
17 #include <std_msgs/Bool.h>
18 #include <rsm_msgs/GetNavigationGoal.h>
19 #include <rsm_msgs/GoalCompleted.h>
20 
22 
23 namespace rsm {
24 
32 
33 public:
36  void publishTopics();
37 
38 private:
40 
44 
46 
53 
56 
68  geometry_msgs::PoseArray _exploration_goals;
72  geometry_msgs::PoseArray _failed_goals;
89 
94  void cmdVelCallback(const geometry_msgs::Twist::ConstPtr& msg);
95 
96  bool setNavigationToReverse(std_srvs::SetBool::Request &req,
97  std_srvs::SetBool::Response &res);
103  const geometry_msgs::Twist::ConstPtr& cmd_vel);
104 
110  const move_base_msgs::MoveBaseGoalConstPtr& frontier_goal);
117  void frontierCallback(
118  const visualization_msgs::MarkerArray::ConstPtr& frontiers);
126  void publishFailedGoals();
130  void publishGoalObsolete();
131 
137  const rsm_msgs::GoalStatus::ConstPtr& goal_status);
143  const std_msgs::Bool::ConstPtr& exploration_mode);
149 
150  bool resetKinectPosition(std_srvs::Trigger::Request &req,
151  std_srvs::Trigger::Response &res);
152 };
153 
154 }
void explorationModeCallback(const std_msgs::Bool::ConstPtr &exploration_mode)
ros::ServiceServer _reset_kinect_position_serivce
geometry_msgs::PoseArray _exploration_goals
void explorationGoalCallback(const rsm_msgs::GoalStatus::ConstPtr &goal_status)
void frontierCallback(const visualization_msgs::MarkerArray::ConstPtr &frontiers)
void reverseModeCmdVelCallback(const geometry_msgs::Twist::ConstPtr &cmd_vel)
ros::ServiceClient _get_navigation_goal_service
void cmdVelCallback(const geometry_msgs::Twist::ConstPtr &msg)
ros::ServiceServer _set_navigation_to_reverse_service
Class that establishes communication between the different states and the RSM&#39;s periphery including t...
actionlib::SimpleActionServer< move_base_msgs::MoveBaseAction > MoveBaseActionServer
void navigationGoalCallback(const move_base_msgs::MoveBaseGoalConstPtr &frontier_goal)
geometry_msgs::PoseArray _failed_goals
bool setNavigationToReverse(std_srvs::SetBool::Request &req, std_srvs::SetBool::Response &res)
bool resetKinectPosition(std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res)


rsm_additions
Author(s): Marco Steinbrink
autogenerated on Tue Mar 16 2021 02:44:35