Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The string you mentioned in your comment is obtained by

std::string jointName = this->modelPtr->GetName() + "::leftjoint";

You can either pass the joint name to the plugin in SDF tags of the plugin or search the model for all the joints. Depending on your application.