Gazebo | Ignition | Community
Ask Your Question
0

Error in setting Joint axis element

asked 2020-07-01 02:36:48 -0500

abed gravatar image

Hello,

I am trying to set a joint's axis according to its parent frame and I am using SDF 1.6, so according to the SDFFormat Specification I am using <use_parent_model_frame>1</use_parent_model_frame> in the axis element of my joint, but this is giving me the following error:

Warning [parser.cc:950] XML Element[use_parent_model_frame], child of element[joint] not defined in SDF. Ignoring[use_parent_model_frame]. You may have an incorrect SDF file, or an sdformat version that doesn't support this element.

But the model is opening just fine, but apparently the axis is not set correctly. So what's wrong? Thank you in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-01 02:56:23 -0500

nlamprian gravatar image

use_parent_model_frame is a child of axis, not joint.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-07-01 02:36:48 -0500

Seen: 19 times

Last updated: Jul 01