-
Notifications
You must be signed in to change notification settings - Fork 217
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
Minimal code to retrieve the joints transforms/states of a model #69
Comments
I assume you are using the rl::mdl part of the library? The function The following lines in the rlCoachMdl demo show how this can be used to synchronize the kinematic and visual models after a position update: rl/demos/rlCoachMdl/ConfigurationModel.cpp Lines 221 to 227 in 2da1f81
|
Thank you for responding. I have retrieve the transformation matrix using the getBodyFrame() function but could not determine how to use this for the visualization. One major problem is determining joint origins that the a link will rotate about. Also, based on the rl::mdl::UrdfFactory codes, the joint origin has been extracted from the urdf file but added as a separate frame. So please could you assist me with the following: |
The transformation matrices are a typedef of |
Ok thank you I would try that and report back here. |
Hi! Please I am using a custom model visualization/simulation framework based on C# WPF viewport3D . I would like to kindly ask how i can retrieve the state of each joint transformation so that I can reproduce the joint states in the front end. I am little bit confused on the methods getJoint(), getFrames(), and others. Does not know which one will actually return the current state of a joint. I know getOperationalPosition() only return return the state of the tool. I would like to know how to retrieve the states of the remaining joints.
Thanks
The text was updated successfully, but these errors were encountered: