Skip to content

Commit

Permalink
[core] Disable friction cone because current implementation is not st…
Browse files Browse the repository at this point in the history
…able.
  • Loading branch information
Alexis Duburcq committed Nov 29, 2021
1 parent eff410c commit caff2b8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/src/engine/EngineMultiRobot.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3743,11 +3743,9 @@ namespace jiminy

// Enforce tangential friction pyramid and torsional friction
hi[constraintIdx] = contactOptions.friction; // Friction along x-axis
fIndices[constraintIdx] = {static_cast<int32_t>(constraintIdx + 2),
static_cast<int32_t>(constraintIdx + 1)};
fIndices[constraintIdx] = {static_cast<int32_t>(constraintIdx + 2)};
hi[constraintIdx + 1] = contactOptions.friction; // Friction along y-axis
fIndices[constraintIdx + 1] = {static_cast<int32_t>(constraintIdx + 2),
static_cast<int32_t>(constraintIdx)};
fIndices[constraintIdx + 1] = {static_cast<int32_t>(constraintIdx + 2)};
hi[constraintIdx + 3] = contactOptions.torsion; // Friction around z-axis
fIndices[constraintIdx + 3] = {static_cast<int32_t>(constraintIdx + 2)};

Expand Down

0 comments on commit caff2b8

Please sign in to comment.