crocoddyl
crocoddyl copied to clipboard
Remove memory allocation produced by pseudoInverse in quasiStatic functions
This issue has been reported by @jcarpent in https://github.com/loco-3d/crocoddyl/pull/980#discussion_r679776248. As described in that discussion thread, the solution is to store
- the SVD structure in the action-data structures
- the matrix containing the output of
pseudoInverse
.
Note that this has to be done in both action models: DifferentialActionModelFreeFwdDynamics
and DifferentialActionModelContactFwdDynamics
.