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

Add Inertia python bindings #1388

Merged
merged 9 commits into from
Aug 14, 2019
Merged

Conversation

chhinze
Copy link
Contributor

@chhinze chhinze commented Aug 13, 2019

Adds the following:

  • Bindings for class dart::dynamics::Inertia
  • Access for dart::dynamics::BodyNode::getInertia
  • unittests for new bindings

Before creating a pull request

  • Document new methods and classes
  • Format new code files using clang-format

Before merging a pull request

  • Set version target by selecting a milestone on the right side
  • Summarize this change in CHANGELOG.md
  • Add unit test(s) for this change

@codecov
Copy link

codecov bot commented Aug 13, 2019

Codecov Report

Merging #1388 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1388   +/-   ##
=======================================
  Coverage   57.27%   57.27%           
=======================================
  Files         366      366           
  Lines       27432    27432           
=======================================
  Hits        15711    15711           
  Misses      11721    11721

@jslee02 jslee02 added this to the DART 6.10.0 milestone Aug 14, 2019
Copy link
Member

@jslee02 jslee02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor style comments. Looks good to me other than that.

python/dartpy/dynamics/Inertia.cpp Show resolved Hide resolved
python/dartpy/dynamics/Inertia.cpp Outdated Show resolved Hide resolved
python/tests/unit/dynamics/test_body_node.py Outdated Show resolved Hide resolved
python/tests/unit/dynamics/test_body_node.py Outdated Show resolved Hide resolved
chhinze and others added 3 commits August 14, 2019 09:21
Co-Authored-By: Jeongseok Lee <jslee02@users.noreply.github.com>
Co-Authored-By: Jeongseok Lee <jslee02@users.noreply.github.com>
Copy link
Member

@jslee02 jslee02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge this once CI test pass. Thank you for the contribution!

@jslee02 jslee02 merged commit 4e8180f into dartsim:master Aug 14, 2019
@chhinze
Copy link
Contributor Author

chhinze commented Aug 15, 2019

Awesome. Thank you for the review and for merging.

@chhinze chhinze deleted the fix/pyAddInertiaAccess branch August 15, 2019 07:30
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.

2 participants