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

Add visualization of a subset of frames in idyntree-model-view #1155

Closed
traversaro opened this issue Feb 21, 2024 · 6 comments · Fixed by #1163
Closed

Add visualization of a subset of frames in idyntree-model-view #1155

traversaro opened this issue Feb 21, 2024 · 6 comments · Fixed by #1163

Comments

@traversaro
Copy link
Member

It happens quite frequently that you want to visualize how frames are oriented in a model. People are frequently using https://github.com/robotology/whole-body-controllers/blob/90ff965a523f0a120e6a8981b71326c1485e7742/utilities/plotRobotFrames.m, that however is a bit cumbersome to setup. A possible alternative is to add the --frames option to idyntree-model-view tools, something like that:

idyntree-model-view -m /path/to/folder/model.urdf --frames "head_imu_0 waist_imu_0"

fyi @Nicogene @S-Dafarra @GiulioRomualdi

Kind of related to #942 .

@traversaro
Copy link
Member Author

The idyntree-model-view.cpp code is quite compact: https://github.com/robotology/idyntree/blob/master/src/tools/idyntree-model-view.cpp .

@Nicogene
Copy link
Member

cc @martinaxgloria

@traversaro
Copy link
Member Author

Features we can use:

@S-Dafarra
Copy link
Contributor

I have added the possibility to visualize frames of a model in 2b82df4

I can modify idyntree-model-view too

@S-Dafarra
Copy link
Contributor

I can modify idyntree-model-view too

Done in fd67ed6 (Related PR #1163 )

@S-Dafarra
Copy link
Contributor

Example output

Screenshot 2024-03-18 182103

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

Successfully merging a pull request may close this issue.

3 participants