Gazebo | Ignition | Community
Ask Your Question

destroy a dynamically created joint?

asked 2016-02-12 12:10:51 -0500

randaz gravatar image

What is the right way to remove a joint created by: gazebo::physics::PhysicsEngine::CreateJoint ( const std::string & _type, ModelPtr _parent = ModelPtr() ) I cannot find an equivalent removeJoint method.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-15 09:33:27 -0500

AndreiHaidu gravatar image

Hi there,

here is an example of reseting and removing a joint:

// removing and detaching joint

It should probably work with only Fini() as well, but I think I had some issues at one point so I just called everything, just to be sure :)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-02-12 12:10:51 -0500

Seen: 533 times

Last updated: Feb 15 '16