Skip to content

Commit

Permalink
Update the FeasibleContactWrenchTask
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi committed Jul 21, 2021
1 parent d461e09 commit 1277a62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TSID/tests/FeasibleContactWrenchTaskTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ TEST_CASE("Joints and Base dynamics tasks")
REQUIRE(b.isApprox(coneWithNormalForceB));

// disable the task
task.disable();
const bool isActive = false;
task.setContactActive(isActive);
coneWithNormalForceB.tail(1)(0) = 0;
REQUIRE(b.isApprox(coneWithNormalForceB));

Expand Down

0 comments on commit 1277a62

Please sign in to comment.