This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_quaternion_conjugate_inplace

Function Documentation

int rc_quaternion_conjugate_inplace(rc_vector_t *q)

Calculates conjugate of quaternion q and overwrites the old q.

Populates quaternion vector q with its conjugate where the 3 imaginary parts ijk are multiplied by -1.

Parameters

q[in] The quarternion

Returns

Returns 0 on success or -1 on failure.