Browse Source

Copter: remove call to visual_odom.update

zr-v5.1
Randy Mackay 5 years ago
parent
commit
05a37db07c
  1. 3
      ArduCopter/Copter.cpp

3
ArduCopter/Copter.cpp

@ -111,9 +111,6 @@ const AP_Scheduler::Task Copter::scheduler_tasks[] = {
#endif #endif
#if BEACON_ENABLED == ENABLED #if BEACON_ENABLED == ENABLED
SCHED_TASK_CLASS(AP_Beacon, &copter.g2.beacon, update, 400, 50), SCHED_TASK_CLASS(AP_Beacon, &copter.g2.beacon, update, 400, 50),
#endif
#if VISUAL_ODOMETRY_ENABLED == ENABLED
SCHED_TASK_CLASS(AP_VisualOdom, &copter.g2.visual_odom, update, 400, 50),
#endif #endif
SCHED_TASK(update_altitude, 10, 100), SCHED_TASK(update_altitude, 10, 100),
SCHED_TASK(run_nav_updates, 50, 100), SCHED_TASK(run_nav_updates, 50, 100),

Loading…
Cancel
Save