physics::Model::SetScale() only works sometimes

asked 2019-10-08 17:02:50 -0500

mogumbo gravatar image

I have a ModelPlugin that scales models by calling physics::Model::SetScale(). It works consistently in one project that I'm working on but not in the other. In the other project, it almost never works. One time after I rebooted, it worked for about an hour.

I have followed my scales through the code to World.cc line 2666: this->dataPtr->modelPub->Publish(msg); Everything appears to behave correctly up to that point. I haven't figured out what happens to the message after that.

Does anyone know what might be the problem? I found one other claim of SetScale() not working: http://answers.gazebosim.org/question...

edit retag flag offensive close merge delete