mirror of https://github.com/ArduPilot/ardupilot
Math: added comment on quaternion constructor
This commit is contained in:
parent
1f5095e722
commit
d24b055b66
|
@ -17,7 +17,8 @@ class Quaternion
|
|||
public:
|
||||
float q1, q2, q3, q4;
|
||||
|
||||
// constructor
|
||||
// constructor creates a quaternion equivalent
|
||||
// to roll=0, pitch=0, yaw=0
|
||||
Quaternion() { q1 = 1; q2 = q3 = q4 = 0; }
|
||||
|
||||
// setting constructor
|
||||
|
|
Loading…
Reference in New Issue