Browse Source

Copter: update proximity sensor at 200hz

master
Randy Mackay 5 years ago
parent
commit
16036b6dff
  1. 2
      ArduCopter/Copter.cpp

2
ArduCopter/Copter.cpp

@ -107,7 +107,7 @@ const AP_Scheduler::Task Copter::scheduler_tasks[] = { @@ -107,7 +107,7 @@ const AP_Scheduler::Task Copter::scheduler_tasks[] = {
SCHED_TASK(read_rangefinder, 20, 100),
#endif
#if PROXIMITY_ENABLED == ENABLED
SCHED_TASK_CLASS(AP_Proximity, &copter.g2.proximity, update, 100, 50),
SCHED_TASK_CLASS(AP_Proximity, &copter.g2.proximity, update, 200, 50),
#endif
#if BEACON_ENABLED == ENABLED
SCHED_TASK_CLASS(AP_Beacon, &copter.g2.beacon, update, 400, 50),

Loading…
Cancel
Save