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.83k stars 383 forks source link

Context::Scalar in Geometry and GeometryObject #2445

Open MegMll opened 3 days ago

MegMll commented 3 days ago

Bug description

For now, geometry model, geometry data and geometry object take the scalar and options provided in the context, when it should only be built with scalar=double.

When pinocchio is compiled with casadi support, for example, it de-activate some algorithms, that could possibly be re-activated.

A fix will be provided in https://github.com/stack-of-tasks/pinocchio/pull/2441.