gazebosim/sdformat

gz sdf --inertial-stats should process world files

開放

#1,342 建立於 2023年10月30日

 (0 則留言) (0 個反應) (0 位負責人)C++ (122 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (216 顆星)
PR 合併指標
 (平均合併 10天) (30 天內合併 10 個 PR)

描述

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

貢獻者指南