bug in gazebo::physics::Model::GetJointCount ()
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
I seem to be having the same problem now. Did you figure out a workaround?