ToyotaResearchInstitute / idto

Inverse Dynamics Trajectory Optimization for Contact-Implicit Model Predictive Control
MIT License
72 stars 16 forks source link

Fix memory allocation bug in CalcGradient #11

Closed vincekurtz closed 1 year ago

vincekurtz commented 1 year ago

We were using workspace entries to store intermediate gradient calculations, but these were the wrong size. Surprisingly, that didn't seem to cause major problems.

This gets rid of those intermediate variables entirely.


This change is Reviewable