pinocchio: bug for function: pinocchio.casadi.log3

I have recently been using the Pinocchio CasADi interface for optimal control tasks. However, I encountered unexpected issues, which I traced back to problems with the pinocchio.casadi.log3 function. A similar issue was reported for the log6 function in CasADi (https://github.com/casadi/casadi/discussions/3871).

When I replaced the problematic function with an alternative provided by the CasADi authors, the issue was resolved. My current Pinocchio version is 3.5.0, and I hope this bug can be addressed.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

Do we have plans to develop interface compatibility with GTSAM?

@Zkjoker –

We are planning to release our optimal estimation framework integrated within Crocoddyl. Our initial approach, as described in https://arxiv.org/pdf/2403.17161, already demonstrates promising results. Unlike existing solutions such as CasADi, our framework is built around CppADCodeGen, enabling significantly more efficient algorithmic differentiation and code generation.

In contrast to GTSAM, which uses custom solvers for factor graph optimization, our framework naturally exploits the Markovian structure of optimal control problems. This allows us to achieve high computational efficiency using Riccati-based recursions, rather than relying on sparse linear solvers or symbolic reordering heuristics.

Furthermore, our solver will natively support constraints in a more scalable and principled way compared to CasADi-based solutions, which often require relaxation or generic NLP approaches. This design also facilitates a seamless extension to System Identification (SysID) problems, where efficient handling of structured dynamics and measurements is crucial.

If this topic is interesting for you, stay tuned for future releases in Crocoddyl. We are currently hard to make the framework more versatile and simple to use.

Do we have plans to develop interface compatibility with GTSAM?

Good suggestion. @dellaert We might be able to discuss this point during your visit to Paris.

@Zkjoker Could you please make a concise summary of what works and what does not work out of your previous comments? (Your comments are very long, making them hard to follow)