pyquaternion
pyquaternion copied to clipboard
A fully featured, pythonic library for representing and using quaternions
Is this repository/package still maintened?
This is in reference to #11 I used the reference numpy code and changed it to work with your library
add method to retreive euler angle with convention as parameter
Hi, I saw that this library offers the function `yaw_pitch_roll` to get the Euler angles from a quaternion. However I see they are calculated based on a fixed application of...
There appears to be an error in the section about quaternion chaining in [Basic Usage](http://kieranwynn.github.io/pyquaternion/#basic-usage). Either pyQuaternion does not follow standard quaternion multiplication conventions (I don't think so) or the...
I'm evaluating the angular distance between two quaternions and it seems that values produced by `Quaternion.distance` are twice less in comparison with this formula: The UTs checking angular distance for...
Hi, Thanks for writing this library. I use it all the time and love its simplicity for 3D representations. I have lately been dealing with an issue pretty commonly where...
To enable deterministic sampling of orientations it is necessary to pass a seeded rng to the function. This is important for example in machine learning, when orientations need to be...
In order to perform the most efficient way to compute the rotation of a vector via a quaternion using the algorithm posted here: https://gamedev.stackexchange.com/questions/28395/rotating-vector3-by-a-quaternion
The optimisation of `slerp()` (four fewer allocations, no inversion of one input quaternion necessary) is based on my independent derivation for my 3D engine [here](https://github.com/DroneBetter/Perspective3Dengine/blob/24b5dc4f49c8160265b4c3e479587c9703e5f6ad/perspective%203D%20engine.py#L186) `intermediates()` needs only for the...