ikpy icon indicating copy to clipboard operation
ikpy copied to clipboard

Option to output as Quaternions/Euler angles/Vectors

Open Toxic-Cookie opened this issue 4 years ago • 5 comments

The current output is homogeneous coordinates. For generalized use of this software, it would make sense to have an option for the outputs to be in the context of 3D engines like Blender and Unity. Cartesian coordinates.

Toxic-Cookie avatar Jan 18 '21 02:01 Toxic-Cookie

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 19 '21 21:03 stale[bot]

Hello @Toxic-Cookie ,

This is indeed a good feature, I'm pinning it, and will see when this could be done.

In the meantime, you can use the Scipy primitives, as defined here: https://stackoverflow.com/questions/53033620/how-to-convert-euler-angles-to-quaternions-and-get-the-same-euler-angles-back-fr

(Second answer)

Phylliade avatar Jul 08 '21 08:07 Phylliade

Took a little while but I'm glad you're looking into it!

Toxic-Cookie avatar Jul 08 '21 10:07 Toxic-Cookie

Are the Scipy primitives to convert to quaternions ok for you?

Phylliade avatar Jul 08 '21 10:07 Phylliade

Are the Scipy primitives to convert to quaternions ok for you?

Sorry for the late reply! Github didn't bother notifying me. Yeah quaternions would be fantastic!

Toxic-Cookie avatar Jul 14 '21 14:07 Toxic-Cookie