mirror of https://github.com/ArduPilot/ardupilot
AC_Fence: update for AHRS API changes
This commit is contained in:
parent
d31e557983
commit
979c6ae3b6
|
@ -52,7 +52,7 @@ AP_GPS_Auto auto_gps(&gps);
|
||||||
GPS_Glitch gps_glitch(gps);
|
GPS_Glitch gps_glitch(gps);
|
||||||
|
|
||||||
AP_Compass_HMC5843 compass;
|
AP_Compass_HMC5843 compass;
|
||||||
AP_AHRS_DCM ahrs(&ins, gps);
|
AP_AHRS_DCM ahrs(ins, gps);
|
||||||
|
|
||||||
// Inertial Nav declaration
|
// Inertial Nav declaration
|
||||||
AP_InertialNav inertial_nav(&ahrs, &baro, gps, gps_glitch);
|
AP_InertialNav inertial_nav(&ahrs, &baro, gps, gps_glitch);
|
||||||
|
|
Loading…
Reference in New Issue