Make joint axis reference frame relative to child

Steven Peters avatarSteven Peters created an issue

In the sdf documentation, the <joint><axis> element is listed as using the joint frame, when in practice it uses the model frame (see

I recommend fixing the code to match what the documentation currently says, rather than just changing the documentation, since it will simplify model creation to fix this.

We should test the PR2, Atlas, Polaris, and other models to ensure that fixing this bug does not break things.

Comments (12)

  1. felix-kolbe

    Confirming, voting for code fix.

    We're just trying to describe our robot with SDF 1.3 and found that awkward behavior. E.g. we want to revolve around the z axis of a link frame we tilted but have to define the corresponding model axis (y in this case) as the joint axis. That way it works but is confusing nonsense.

  2. John Hsu

    upgrading this to critical, as the current interpretation is non-ideal. Exactly how to make the change and changing code without breaking existing user code might take some time to tic-toc.

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.