how to modify the pose of a robot by msgs?
The name of a existing model is "ball". I use "this->node->Advertise<msgs::pose>(std::string("~/") + ball + "/pose");" to create a transport::PublisherPtr, but it doesn't work. How to create a publisherPtr? thanks.
Can you provide more information about how it fails? Does it fail to compile? Seg fault or the message is not published? Please also include a code example.