gazebosim / gz-physics

Abstract physics interface designed to support simulation and rapid development of robot applications.
https://gazebosim.org
Apache License 2.0
65 stars 40 forks source link

Fix model frame data #651

Open iche033 opened 3 months ago

iche033 commented 3 months ago

🦟 Bug fix

Summary

Fix ModelFrameSemantics in dartsim. When a model is added to dartsim, a model frame is also always created. So it looks like we can just look up frames to retrieve model frame data in KinematicsFeature instead of using the root body node (which may be at an offset from the model).

Enabled checks for model frame data in kinematic_features

Checklist

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.