Robotics StackExchange | Archived questions

Error trying to load a model with a model plugin

When trying to launch gazebo with a sdf model with a plugin it crashes with the following message:

[ INFO] [1455529229.442625347]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
gzserver: /usr/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = gazebo::physics::Joint; typename boost::detail::sp_member_access<T>::type = gazebo::physics::Joint*]: Assertion `px != 0' failed.
Aborted (core dumped)

Here is my code:

Any suggestions?

EDIT: I found the solution. I was trying to load libRoverPlugin.so instead of libVehiclePlugin.so

Asked by IkerZamora on 2016-02-15 04:54:44 UTC

Comments

I am dealing with a similar error. Did you find any solution?

Asked by sofia.gr on 2017-07-14 11:52:14 UTC

According to the edit in the end of the question, their problem was loading the wrong plugin.

Asked by chapulina on 2017-07-14 11:53:10 UTC

I didn't notice that, thank you

Asked by sofia.gr on 2017-07-14 13:03:01 UTC

Answers