DAIRLab / dairlib

MIT License
66 stars 26 forks source link

Properly handle discontinuities when adding velocity cost #231

Closed ShaneRozenLevy closed 10 months ago

ShaneRozenLevy commented 3 years ago

doAddRunningCost will not properly handle the discontinuities in velocity from impacts. I added a function which will only add a cost on sum of velocity squared, but will properly handle discontinuities. Code was tested on optimizing leaps for Spirit.


This change is Reviewable