37 #include <test_roscpp/TestStringString.h> 40 test_roscpp::TestStringString::Response &res)
46 int main(
int argc,
char** argv)
48 ros::init(argc, argv,
"service_wait_a_adv_b");
int main(int argc, char **argv)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ServiceServer advertiseService(const std::string &service, bool(T::*srv_func)(MReq &, MRes &), T *obj)
bool srvCallback(test_roscpp::TestStringString::Request &, test_roscpp::TestStringString::Response &res)
void setParam(const std::string &key, const XmlRpc::XmlRpcValue &v) const
ROSCPP_DECL bool waitForService(const std::string &service_name, int32_t timeout)