-
Notifications
You must be signed in to change notification settings - Fork 38
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
Implement AngularMomentum task in the IK component #443
Conversation
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.
Minor comments.
|
||
/** | ||
* AngularMomentumTask is a concrete implementation of the IK::Task. Please use this element if you | ||
* want to control the position and the orientation of a given frame rigidly attached to the robot. |
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.
Copy&paste docs?
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.
Yes I fixed the documentation
b66fddc
to
8bdf995
Compare
def test_angular_momentum_task(): | ||
|
||
# retrieve the model | ||
model_url = 'https://raw.githubusercontent.com/robotology/icub-models/master/iCub/robots/iCubGazeboV2_5/model.urdf' |
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.
Perhaps you may want to get a fixed release to avoid that a change in icub-models breaks this test?
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.
I think that as soon as we can start using pybind11
iDynTree
bindings we can switch to iDynTree.get_random_chain(10)
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.
In that case, we need to remind to set a fixed seed.
* linear and angular velocity expressed in mixed representation and the joint velocities. | ||
* The task represents the following equation | ||
* \f[ | ||
* A_{cmm_\omega} \nu = {}^G[A} h_\omega ^* |
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.
Not sure the correct fix, but G[A}
probably needs to be fixed?
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.
Nitpick.
8bdf995
to
3974372
Compare
This task can be used to control a desired angular momentum in the IK.
This can be useful to generate a swing motion of the arms when the robot is position control