diff --git a/Tools/VARTest/VARTest.pde b/Tools/VARTest/VARTest.pde index 9c4b5de900..e8b07b862c 100644 --- a/Tools/VARTest/VARTest.pde +++ b/Tools/VARTest/VARTest.pde @@ -15,7 +15,7 @@ #include // Arduino SPI lib #include #include -#include +#include #include #include #include @@ -25,6 +25,7 @@ #include // ArduPilot Mega IMU Library #include #include +#include #include #include @@ -43,7 +44,7 @@ AP_GPS_Auto g_gps_driver(&Serial1, &g_gps); AP_InertialSensor_Oilpan ins( &adc ); #endif // CONFIG_IMU_TYPE AP_IMU_INS imu( &ins ); -AP_DCM dcm(&imu, g_gps); +AP_AHRS_DCM ahrs(&imu, g_gps); Arduino_Mega_ISR_Registry isr_registry; #ifdef DESKTOP_BUILD