mirror of https://github.com/ArduPilot/ardupilot
AHRS: initalise members to reduce compiler warnings
This commit is contained in:
parent
0f7178e447
commit
1f2e38ed28
|
@ -46,8 +46,16 @@ class AP_AHRS
|
||||||
public:
|
public:
|
||||||
// Constructor
|
// Constructor
|
||||||
AP_AHRS(AP_InertialSensor &ins, AP_Baro &baro, AP_GPS &gps) :
|
AP_AHRS(AP_InertialSensor &ins, AP_Baro &baro, AP_GPS &gps) :
|
||||||
|
roll(0.0f),
|
||||||
|
pitch(0.0f),
|
||||||
|
yaw(0.0f),
|
||||||
|
roll_sensor(0),
|
||||||
|
pitch_sensor(0),
|
||||||
|
yaw_sensor(0),
|
||||||
_vehicle_class(AHRS_VEHICLE_UNKNOWN),
|
_vehicle_class(AHRS_VEHICLE_UNKNOWN),
|
||||||
_compass(NULL),
|
_compass(NULL),
|
||||||
|
_airspeed(NULL),
|
||||||
|
_compass_last_update(0),
|
||||||
_ins(ins),
|
_ins(ins),
|
||||||
_baro(baro),
|
_baro(baro),
|
||||||
_gps(gps),
|
_gps(gps),
|
||||||
|
|
Loading…
Reference in New Issue