Fixed Point Arithmetic
0
Fixed-point math library.
|
This functions calculate the rotation needed to go from 'pos' (current position) to 'setp' (setpoint), in the same reference frame as 'pos'. More...
Functions | |
vec3 | q_error (quat setp, quat pos) |
The magnitude of this error reaches its maximum at 90 degrees and goes to zero at 180 degrees. More... | |
vec3 | q_error2 (quat setp, quat pos) |
This error has a discontinuity at 180 degrees. More... | |
This functions calculate the rotation needed to go from 'pos' (current position) to 'setp' (setpoint), in the same reference frame as 'pos'.
The magnitude of this error reaches its maximum at 90 degrees and goes to zero at 180 degrees.
Definition at line 355 of file quaternion.h.