3 #include "hebiros/AddModelFromURDFSrv.h" 8 int main(
int argc,
char **argv) {
11 ros::init(argc, argv,
"example_05_kinematics_node");
15 std::string model_name =
"my_model";
18 "/hebiros/add_model_from_urdf");
20 AddModelFromURDFSrv add_model_srv;
22 add_model_srv.request.model_name = model_name;
24 while(!add_model_client.
call(add_model_srv)) {}
ServiceClient serviceClient(const std::string &service_name, bool persistent=false, const M_string &header_values=M_string())
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
bool call(MReq &req, MRes &res)
int main(int argc, char **argv)
ROSCPP_DECL void spinOnce()