13 #ifndef SKYWAY_CONTROL_SERVICE_H 14 #define SKYWAY_CONTROL_SERVICE_H 16 #include <fruit/fruit.h> 18 #include <skyway/SkyWayControl.h> 35 bool is_running_ =
true;
38 bool callback(skyway::SkyWayControl::Request &req,
39 skyway::SkyWayControl::Response &res);
44 ASSISTED(std::function<std::string(std::string)>)
54 std::string, std::function<std::string(std::string)>)>;
ros::ServiceServer service_
fruit::Component< ControlServiceFactory > getControlServiceComponent()
virtual void Shutdown() override
std::function< std::unique_ptr< ControlService >(std::string, std::function< std::string(std::string)>)> ControlServiceFactory
std::function< std::string(std::string)> callback_
virtual ~ControlService()=default