DAIRLab / dairlib

MIT License
65 stars 26 forks source link

Avoid re-initializing FastOSQP workspace when disabling warmstart #357

Closed Brian-Acosta closed 2 months ago

Brian-Acosta commented 4 months ago

This PR avoids re-initializing the OSQP workspace when disabling warm starts, and instead directly handles the warm start setting at each solve. It also turns off warm-starting for the first solve of each new contact mode to avoid starting from an inaccurate guess.


This change is Reviewable

Brian-Acosta commented 4 months ago

cc @mposa for CI failures