-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kinematic loops in dart not working with dart 6.7 #2605
Comments
Original comment by Jeongseok Lee (Bitbucket: jlee02, GitHub: jslee02). The root cause of this issue is that In the meantime, a quick fix without changing DART code would be changing the boxed LCP solver without creating a new constraint solver something like: auto solver = this->dataPtr->dtWorld->getConstraintSolver();
if (auto boxedLCPSolver = std::dynamic_pointer_cast<dart::constraint::BoxedLcpConstraintSolver>(solver))
{
boxedLCPSolver->setBoxedLcpSolver(
std::make_shared<dart::constraint::DantzigBoxedLcpSolver>()));
} |
Original comment by Jeongseok Lee (Bitbucket: jlee02, GitHub: jslee02). This should be fixed by dartsim/dart#1260. |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). testing with the branch in dart PR 1260: |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). I've already tested it locally, and it fixes the test when using the patch I posted in the issue description. Thanks for the quick fix! I had some small trouble with the code snippet you posted, as it doesn't like to use |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). I've started a branch with ifdef's for the different versions of dart. I just need working code for dart 6.7 |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). testing |
Original comment by Jeongseok Lee (Bitbucket: jlee02, GitHub: jslee02).
Glad it worked!
Ah, I should have warned you that the code is not tested. 😈 |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
Merged in issue_2605_9 (pull request #3086) Fix #2605: kinematic loops for DART 6.7 and later Approved-by: Jeongseok Lee jslee02@gmail.com → <<cset bee6908>> |
Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
Since the release of dart 6.7, which included a refactor of the ConstraintSolver, our jenkins builds have shown two test failures of
INTEGRATION_kinematic_loop
for the dart test variant and compiler warnings complaining about use of deprecated syntax in DARTPhysics.cc.I've tried the following to update the syntax based on an example in the refactoring pull request, which fixes the deprecation warnings but not the test failure. Opening the
test/worlds/anchored_loop.world
shows that the loop is not connected.Any advice from @jslee02 or @mxgrey would be appreciated.
The text was updated successfully, but these errors were encountered: