-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix feet sinking in the ground as qpOASES fails on "null" constraint …
…lines - When a vertex is in contact, the respective line in `Aeq` is only zeros. When all the vertices of the feet are in contact with the ground, `Aeq` is a null matrix, and such null block in the overall contraints matrix causes qpOASES solver to fail, and the contact forces to be null. - For avoiding this issue, we use directly the lower/upper bounds inputs for the solver problem variable. The constraint F=0 is set using the "lb=ub=0" inputs, while an unconstrained F is obtained by setting "lb=-inf, ub=inf". This could have been obtained also by having `Aeq=Identity` and changing dynamically `beq` between 0 and inf the same way as lb, ub. - Minor fix in `expandedIdxesVerticesAtZeroVel` computation: vectorization through (:) operation instead of (1:end).
- Loading branch information
1 parent
228d700
commit f2184bd
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+126 Bytes
(100%)
lib/RobotDynamicsWithContacts/robotDynamicsWithContacts_lib.slx
Binary file not shown.