Gazebo | Ignition | Community
Ask Your Question

bug in gazebo::physics::Model::GetJointCount ()

asked 2016-02-12 12:08:01 -0500

randaz gravatar image

It seems to me that the value returned by gazebo::physics::Model::GetJointCount () is not updated when I create a new joint using the method: gazebo::physics::PhysicsEngine::CreateJoint ( const std::string & _type,ModelPtr _parent = ModelPtr() )

also method JointPtr gazebo::physics::Model::GetJoint ( const std::string & name ) fails to retrieve the dynamically created joint

edit retag flag offensive close merge delete


I seem to be having the same problem now. Did you figure out a workaround?

rkeatin3 gravatar imagerkeatin3 ( 2017-10-03 17:06:50 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-15 09:41:44 -0500

AndreiHaidu gravatar image

Hi there,

Which gazebo version are you using? I thought this issue was fixed in a newer version, here is an Issue with some discussion about it.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-02-12 12:08:01 -0500

Seen: 191 times

Last updated: Feb 15 '16