19 #ifndef ROBOT_CONFIG_SERVICE_HPP
20 #define ROBOT_CONFIG_SERVICE_HPP
24 #include <ros/node_handle.h>
25 #include <ros/service_server.h>
26 #include <std_srvs/Empty.h>
50 void reset( ros::NodeHandle& nh );
52 bool callback( std_srvs::Empty::Request& req, std_srvs::Empty::Response& resp );
const std::string name_
Definition: robot_config.hpp:56
RobotConfigService(const std::string &name, const std::string &topic)
Definition: robot_config.cpp:25
std::string name() const
Definition: robot_config.hpp:40
ros::ServiceServer service_
Definition: robot_config.hpp:59
Definition: robot_config.hpp:33
std::string topic() const
Definition: robot_config.hpp:45
bool callback(std_srvs::Empty::Request &req, std_srvs::Empty::Response &resp)
Definition: robot_config.cpp:36
const std::string topic_
Definition: robot_config.hpp:57
~RobotConfigService()
Definition: robot_config.hpp:38
void reset(ros::NodeHandle &nh)
Definition: robot_config.cpp:30