ToyotaResearchInstitute / idto

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

[WIP] Add safety-related cost functions #18

Open madan-pi-TRI opened 1 year ago

madan-pi-TRI commented 1 year ago

This PR implements two cost functions: 1) for penalizing joint positions outside joint limits and 2) for penalizing high contact forces. The second function is implemented by penalizing high magnitude signed distances.


This change is Reviewable