Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

As you discovered, SetJointPosition doesn't do the kind of pretty teleportation you wanted. I'll offer another way to do PID however, which is to publish a msgs::JointCmd to the right topic. This is often cleaner in your code than using a PID object and such. It's the same interface the joint panel in gazebo uses.