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_norm

Function Documentation

double rc_quaternion_norm(rc_vector_t q)

Returns the length of a quaternion vector by finding its 2-norm.

Parameters

q[in] The quarternion in form of a vector of length 4

Returns

Returns the norm, or prints an error message and returns -1.0f on error.