Robotics StackExchange | Archived questions

ERROR while accessing joints

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 <leftjoint> element
[Err] [Diff.cc:44] Diff plugin missing <right
joint> element
Error [Element.cc:671] Missing element description for [rightjoint]
gzserver: /usr/include/boost/smart
ptr/sharedptr.hpp:648: typename boost::detail::spmemberaccess::type boost::sharedptr::operator->() const [with T = sdf::Element; typename boost::detail::spmemberaccess::type = sdf::Element*]: Assertion `px != 0' failed.
Aborted


In the world file I've specified leftelement and rightelement. 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!

Asked by Anand George on 2015-12-18 14:30:28 UTC

Comments

Answers

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.

Asked by Anand George on 2015-12-20 09:09:40 UTC

Comments