From a44b9ad469d8d82a93ce9321e9c343ca71c3751c Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Sat, 21 Jul 2012 20:08:22 +0200 Subject: [PATCH] [fixedwing] temporary fix for ahrs in sim --- sw/airborne/firmwares/fixedwing/main_ap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sw/airborne/firmwares/fixedwing/main_ap.c b/sw/airborne/firmwares/fixedwing/main_ap.c index da3eb39a62b..ca32e3c37d2 100644 --- a/sw/airborne/firmwares/fixedwing/main_ap.c +++ b/sw/airborne/firmwares/fixedwing/main_ap.c @@ -537,6 +537,11 @@ void sensors_task( void ) { #endif // USE_AHRS #endif // USE_IMU + //FIXME: this is just a kludge +#if USE_AHRS && defined SITL + ahrs_propagate(); +#endif + #if USE_INS ins_periodic_task(); #endif