Skip to content

Commit

Permalink
Add joint velocity limit constraint support (#1407)
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Aug 29, 2019
1 parent 8cf7f5c commit 54d413a
Show file tree
Hide file tree
Showing 14 changed files with 376 additions and 172 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

* Fixed friction and restitution of individual shapes in a body: [#1369](https://github.com/dartsim/dart/pull/1369)
* Fixed soft body simulation when command input is not resetted: [#1372](https://github.com/dartsim/dart/pull/1372)
* Added joint velocity limit constraint support: [#1407](https://github.com/dartsim/dart/pull/1407)

* GUI

Expand Down
2 changes: 1 addition & 1 deletion dart/constraint/ConstraintSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ void ConstraintSolver::updateConstraints()
}
}

if (joint->isPositionLimitEnforced())
if (joint->areLimitsEnforced())
{
mJointLimitConstraints.push_back(
std::make_shared<JointLimitConstraint>(joint));
Expand Down
Loading

0 comments on commit 54d413a

Please sign in to comment.