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

Support SDF's relative_to when inserting models #325

Open
diegoferigo opened this issue Apr 2, 2021 · 0 comments
Open

Support SDF's relative_to when inserting models #325

diegoferigo opened this issue Apr 2, 2021 · 0 comments

Comments

@diegoferigo
Copy link
Member

diegoferigo commented Apr 2, 2021

The new frame semantics feature of SDF allows specifying a relative_to attribute in the pose element. It could be very useful to insert models programmatically in a location relative to other models:

bool insertModel(const std::string& modelFile,
const core::Pose& pose = core::Pose::Identity(),
const std::string& overrideModelName = {});

A possible implementation could extent core::Pose (in a backward-compatible way) so that the World::insertModel* methods do not need any new argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant