Skip to content

Is there a function to get rx ry rz rotations of pose ? #1962

Answered by stephane-caron
sancelot asked this question in Q&A
Discussion options

You must be logged in to vote

Follow the type of an object to figure out the functions it provides. Here data.oMi is an SE3 object: search for "SE3" in the documentation and it will lead you to this page. You will find the rotation function in the list of public member functions. It will give you a rotation matrix, which you can then convert in the angular representation you prefer (tip: use anything you'd like except Euler angles).

Alternatively you can use Python to explore functions using TAB autocomplete:

In IPython, type pinocchio.SE3.some_function_name? to get the documentation of a function.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jcarpent
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1961 on May 11, 2023 12:21.