ToyotaResearchInstitute / idto

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

Normalize quaternions in the initial condition #17

Closed vincekurtz closed 1 year ago

vincekurtz commented 1 year ago

Previously, we assumed that the user specifies a perfect quaternion for any floating bases in q_init. Now this need not be the case: quaternions in the initial condition are normalized, just as we do for quaternions in the reference and initial guess.


This change is Reviewable