Gazebo | Ignition | Community
Ask Your Question

ERROR while accessing joints

asked 2015-12-18 13:30:28 -0500

Anand George gravatar image

updated 2015-12-19 08:17:24 -0500

Hi there,

I was trying to load gazebo with a world file. But it gives following error and exits.

[Err] [] Diff plugin missing <left_joint> element
[Err] [] Diff plugin missing <right_joint> element
Error [] Missing element description for [right_joint]
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 = sdf::Element; typename boost::detail::sp_member_access<t>::type = sdf::Element*]: Assertion `px != 0' failed.

In the world file I've specified left_element and right_element. Why this is happening?
Also, what is meant by Missing element description for [right_joint]? I didn't find any description for joints anywhere. Can anyone provide a solution for this?

1. World file
2. Model.sdf
3. Model.config
4. Plugin

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-12-20 08:09:40 -0500

Anand George gravatar image

I found out the problem. I added the plugin to the model through the world file. I changed it and attached directly in the model.sdf file. Now that error is not coming.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-12-18 13:30:28 -0500

Seen: 390 times

Last updated: Dec 20 '15