some of the tasks under nav_periodic_task() are only called when AP_MODE_NAV