Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty pose not interpreted as identity when rotation_format=quat_xyzw is set #707

Closed
Tracked by #252
azeey opened this issue Sep 21, 2021 · 0 comments · Fixed by #729
Closed
Tracked by #252

Empty pose not interpreted as identity when rotation_format=quat_xyzw is set #707

azeey opened this issue Sep 21, 2021 · 0 comments · Fixed by #729
Assignees
Labels
bug Something isn't working

Comments

@azeey
Copy link
Collaborator

azeey commented Sep 21, 2021

Environment

  • OS Version: Ubuntu 18.04
  • Source or binary build? source, main

Description

Steps to reproduce

Save the following to a file and run ign sdf -k on it

<sdf version="1.9">
  <model name="M">
    <link name="L">
      <pose rotation_format="quat_xyzw"/>
    </link>
  </model>
</sdf>

Output

Error [Param.cc:557] The value for //pose[@rotation_format='quat_xyzw'] must have 7 values, but 6 were found instead in '0 0 0 0 0 0'.
Error [Param.cc:837] Failed to set value '0 0 0 0 0 0' to key [pose] for new parent element of name 'pose', reverting to previous value '0 0 0 0 0 0'.
Error:   Could not find the 'robot' element in the xml file
         at line 80 in /build/urdfdom-YMMa9X/urdfdom-1.0.0/urdf_parser/src/model.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants