Gazebo | Ignition | Community
Ask Your Question
0

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.cc:41] Diff plugin missing <left_joint> element
[Err] [Diff.cc:44] Diff plugin missing <right_joint> element
Error [Element.cc:671] 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.
Aborted


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?

Files:
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
0

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

Question Tools

1 follower

Stats

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

Seen: 585 times

Last updated: Dec 20 '15