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

gz sdf --inertial-stats should process world files #1342

Open
scpeters opened this issue Oct 30, 2023 · 0 comments
Open

gz sdf --inertial-stats should process world files #1342

scpeters opened this issue Oct 30, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@scpeters
Copy link
Member

Desired behavior

Currently the gz sdf --inertial-stats command can parse SDFormat files containing a single model and print aggregate inertial statistics (total mass, aggregate center of mass and moment of inertia matrix), but it fails when trying to load an SDFormat world file with Error: Expected a model file but received a world file.

It would be convenient to parse a world file and print the inertial stats for each model contained in the world along with the name of the model.

Alternatives considered

Implementation suggestion

Additional context

@scpeters scpeters added enhancement New feature or request help wanted Extra attention is needed labels Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: To do
Development

No branches or pull requests

1 participant