stack-of-tasks / pinocchio

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
http://stack-of-tasks.github.io/pinocchio/
BSD 2-Clause "Simplified" License
1.7k stars 366 forks source link

Modify model appending algorithm #2218

Closed florent-lamiraux closed 3 months ago

florent-lamiraux commented 3 months ago

This modification follows https://github.com/stack-of-tasks/pinocchio/discussions/2203.

In the new version, when appending model B to model A on frame F, joints are copied in the following order

florent-lamiraux commented 3 months ago

@jcarpent : I will handle your comments after fixing the tests.

florent-lamiraux commented 3 months ago

I addressed the above comments, modified test-cpp-model to test the new behavior, and improved the documentation of Model.supports.