-
Notifications
You must be signed in to change notification settings - Fork 18
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 relative jacobian #226
Add relative jacobian #226
Conversation
@@ -0,0 +1,252 @@ | |||
/* | |||
* Copyright (C) 2018 Istituto Italiano di Tecnologia (IIT) |
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.
* Copyright (C) 2018 Istituto Italiano di Tecnologia (IIT) | |
* Copyright (C) 2021 Istituto Italiano di Tecnologia (IIT) |
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.
Updated in c70ea7d
Please ignore codacy, it is a false positive as the analyzer don't get Eigen::Map semantics. |
* | ||
* | Type | Index | Rows | Cols | Name | | ||
* | ---- | :---: | :---: | :---: | ----- | | ||
* | ::STRING | 0 + WBBlock::NumberOfParameters | 1 | 1 | "Frame" | |
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.
This does not seem to be consistent with https://github.com/robotology/wb-toolbox/pull/226/files#diff-2b9b96a62b999213b36e92d8d6259e05232da379e1c2a6e722f67ee1f35f8b5cR81 .
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.
Updated in c70ea7d
Description "This block retrieves the Relative Jacobian between two specified frames.\n\nAssuming DoFs is the numbe" | ||
"r of internal degrees of freedom of the robot:\n\nInput:\n - Joint configuration: Vector of size DoFs, representing" | ||
" the configuration of the joints.\n\nOutput:\n - Jacobian: a 6xdofs matrix representing the Jacobian between the sp" | ||
"ecified frames written in Mixed representation: origin as child, orientation as parent.\n\nParameters:\n - Frame na" |
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 may be missing something, but it is not clear from here wheter "Frame 1" is parent or "Frame 2" is child. Furthermore, I am not sure if parent/child are the best choice of words, as this frames can be also relative to links that are not one the parent of another. Perhaps referenceFrame/frame or reference/leaf could be better names?
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.
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.
Updated in c70ea7d
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.
Some comments on the docs, other then that it seems ok.
@traversaro I addressed your previous comments, ready for review again. |
Great! Can you rebase this branch on master, and update the CHANGELOG ? |
1b6e3e1
to
d19eba8
Compare
Done in d19eba8 |
@HosameldinMohamed do you have any planned future improvements? If not, I think I can proceed with a release before we forget about it. |
@traversaro nothing at the moment. |
Thanks! |
Adds a block that computes the
Relative Jacobian
, implementing https://github.com/robotology/idyntree/blob/f9051752ca5a6ca8f3a4f101e4a536fe1eb62c5f/src/high-level/src/KinDynComputations.cpp#L1661-L1663See #225