Functions and structs for dealing with Euler (specifically, Cardanian) angles.
More...
|
file | euler.h |
| API header file for euler angles in zscilib.
|
|
|
struct | zsl_euler |
| An ordered triplet of real numbers describing the orientation of a rigid body in three-dimensional (Euclidean) space, with respect to a fixed coordinate system. Each element represents the rotation about the specified axis, expressed in radians. More...
|
|
Functions and structs for dealing with Euler (specifically, Cardanian) angles.
◆ zsl_eul_print()
Print the supplied euler angles vector using printf in a human-readable manner.
- Parameters
-
e | Pointer to the vector containing the euler angles to print. |
- Returns
- 0 if everything executed correctly, otherwise an appropriate error code.
◆ zsl_eul_to_vec()
Takes the values in the supplied zsl_euler, and assigns the same memory address to a zsl_vec, allowing for vector functions to be used on the zsl_euler XYZ values.
- Parameters
-
- Returns
- 0 if everything executed correctly, otherwise a negative error code.