AP_DCM - fixed small compiler warning to do with order of parameters in constructor

This commit is contained in:
rmackay9 2012-02-29 22:45:26 +09:00
parent 82f81295a7
commit 5026b5c192
1 changed files with 6 additions and 6 deletions

View File

@ -25,6 +25,11 @@ class AP_DCM
public:
// Constructors
AP_DCM(IMU *imu, GPS *&gps, Compass *withCompass = NULL) :
_clamp(3),
_kp_roll_pitch(0.05967),
_ki_roll_pitch(0.00001278),
_kp_yaw(0.8), // .8
_ki_yaw(0.00004), // 0.00004
_compass(withCompass),
_gps(gps),
_imu(imu),
@ -32,12 +37,7 @@ public:
0, 1, 0,
0, 0, 1),
_health(1.),
_kp_roll_pitch(0.05967),
_ki_roll_pitch(0.00001278),
_kp_yaw(0.8), // .8
_ki_yaw(0.00004), // 0.00004
_toggle(0),
_clamp(3)
_toggle(0)
{}
// Accessors