fix some typos and better explanation of quaternion ordering

This commit is contained in:
Roman 2016-05-10 11:48:11 +02:00
parent 2b3bdb523d
commit 1033e145a5
3 changed files with 5 additions and 3 deletions

View File

@ -53,7 +53,7 @@ public:
/**
* Constructor from array
*
* @param other array
* @param _data pointer to array
*/
Dcm(const Type *data_) : Matrix<Type, 3, 3>(data_)
{

View File

@ -136,7 +136,7 @@ public:
* Instance is set from dcm representing transformation
* from frame 2 to frame 1.
*
* @param dcm_ dcm to set angles to
* @param dcm Direction cosine matrix instance to convert from.
*/
void set_from_dcm(const Dcm<Type> & dcm)
{

View File

@ -3,7 +3,8 @@
*
* A quaternion instance of this class describes a rotation from
* coordinate frame 1 to corrdinate frame 2. The first element of the quaternion
* represents the real part.
* represents the real part, thus, a quaternion representing a zero-rotation
* is define as (1,0,0,0).
*
* @author James Goppert <james.goppert@gmail.com>
*/
@ -104,6 +105,7 @@ public:
*
* Instance is initialized from quaternion values representing coordinate
* transformation from frame 2 to frame 1.
* A zero-rotation quaternion is represented by (1,0,0,0).
*
* @param a set quaternion value 0
* @param b set quaternion value 1