mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
AC_Fence: disable example build
fails to build with compiler error
This commit is contained in:
parent
3b8c6e629d
commit
7b2d56a8cb
@ -48,15 +48,14 @@ AP_Baro_BMP085 baro;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// GPS declaration
|
// GPS declaration
|
||||||
GPS *gps;
|
AP_GPS gps;
|
||||||
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, baro, gps);
|
AP_AHRS_DCM ahrs(ins, baro, gps);
|
||||||
|
|
||||||
// Inertial Nav declaration
|
// Inertial Nav declaration
|
||||||
AP_InertialNav inertial_nav(ahrs, baro, gps, gps_glitch);
|
AP_InertialNav inertial_nav(ahrs, baro, gps_glitch);
|
||||||
|
|
||||||
// Fence
|
// Fence
|
||||||
AC_Fence fence(&inertial_nav);
|
AC_Fence fence(&inertial_nav);
|
||||||
|
Loading…
Reference in New Issue
Block a user