-
Notifications
You must be signed in to change notification settings - Fork 90
Expose individual bodies NDOF effector #1117
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
Expose individual bodies NDOF effector #1117
Conversation
schaubh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice PR. Thanks for upgrading both effectors. Some todos:
- need to deprecate the use of the all effector class name
- I don't see any unit tests checking that we can change values on the fly. We should test this in a unit test for both effectors.
...nearTranslationalBodies/linearTranslationBodiesOneDOF/linearTranslationOneDOFStateEffector.h
Show resolved
Hide resolved
64bbe88 to
a6cec18
Compare
schaubh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need to fix the RST typo in the release notes, rebase, then you are good to push to origin.
a6cec18 to
b0bce4a
Compare
b0bce4a to
41f378d
Compare
Description
The commits first run through
spinningBodiesNDOF, and then move ontolinearTranslationBodiesNDOF. First, allSpinningBodyandTranslatingBodystructures are madeshared_ptr. Then, the.ifiles are changed appropriately to accommodate the use of shared pointers. Finally, a getter method is added for each body so that they can be changed in Python. Test changes are added at the end.Verification
Added two new tests that set and retrieve the body parameters on the fly to make sure all data is kept in memory. All tests pass as expected.
Documentation
N/A.
Future work
N/A.