Skip to content
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

Fix incorrect integration of BallJoint and FreeJoint using modified integration API #168

Merged
merged 18 commits into from
Mar 29, 2014

Conversation

jslee02
Copy link
Member

@jslee02 jslee02 commented Mar 28, 2014

  • Modify the integration API;

Explicit Euler integration with previous API:

    Eigen::VectorXd deriv = _system->evalDeriv();
    _system->setState(system->getState() + (_dt * deriv));

Explicit Euler integration with modified API:

  _system->integrateConfigs(_system->getGenVels(), _dt);
  _system->integrateGenVels(_system->evalGenAccs(), _dt);

@jslee02 jslee02 added this to the Release DART 4.0 milestone Mar 28, 2014
karenliu added a commit that referenced this pull request Mar 29, 2014
Fix incorrect integration of BallJoint and FreeJoint using modified integration API
@karenliu karenliu merged commit 8a35be8 into master Mar 29, 2014
@jslee02 jslee02 deleted the issue122 branch April 2, 2014 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect integration of generalized coordinates for BallJoint and FreeJoint
2 participants