36 private_nh.
param(
"app_type",
app_type_, std::string(
"micros_swarm/AppDemo"));
39 app_loader::AppLoad srv;
52 std::string topic_name =
"runtime_core_destroy_" +
app_name_;
62 app_loader::AppUnload srv;
66 if (client.
call(srv)) {
73 ROS_INFO(
"RTPManager was destroyed before the AppLoader.");
bool rtp_manager_destroy_
ServiceClient serviceClient(const std::string &service_name, bool persistent=false, const M_string &header_values=M_string())
bool call(MReq &req, MRes &res)
ServiceServer advertiseService(const std::string &service, bool(T::*srv_func)(MReq &, MRes &), T *obj)
bool rtpManagerDestroyCB(app_loader::RTDestroy::Request &req, app_loader::RTDestroy::Response &resp)
ros::ServiceServer rtp_manager_destroy_srv_
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val) const
ROSCPP_DECL void shutdown()