-
Notifications
You must be signed in to change notification settings - Fork 9
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 quantities related to generic frames similarly to those of link frames #147
Comments
cc @xela-95 |
First off, JaxSim currently considers frames the following:
Considering that links are numbered from
While frames are not yet exposed to Tagging @traversaro for a quick feedback on the indexing of frames. Do you think that using a numbering compatible with iDynTree has relevant advantages in the JaxSim case? |
An indexing similar to iDynTree is useful so users have a consistent API for all methods and they do not need to worry if they need to provide a Link index or an additional frame index |
Ok agreed, this option seems to me also easier to implement. |
@diegoferigo could you assign the issue to me? :) |
The rod parser used under the hood, being primarily based on SDF, supports the definition of frames. Furthermore, our parsing logic automatically detects kinematic chains
(link)->(fixed joint)->(dummy link with zero mass)
that are often used to implement frames in URDF, and creates out of it an actual frame.Computing quantities of a frame that is not a link frame is a common operation for model-based control. We should develop a new
jaxsim.api.frame
module providing at least the following functionality:number_of_links
.We should be able to provide all these quantities by just manipulating what our RBDAs already provide. The only necessary quantity to compute is the link-to-frame transform${}^L \mathbf{H}_F$ that can be gathered after #137.
The text was updated successfully, but these errors were encountered: