Error trying to load a model with a model plugin

asked 2016-02-15 04:34:23 -0600

IkerZamora gravatar image

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

edit retag flag offensive close merge delete

Comments

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

sofia.gr gravatar imagesofia.gr ( 2017-07-14 11:52:14 -0600 )edit

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

chapulina gravatar imagechapulina ( 2017-07-14 11:53:10 -0600 )edit

I didn't notice that, thank you

sofia.gr gravatar imagesofia.gr ( 2017-07-14 13:03:01 -0600 )edit