|
|
|
@ -24,6 +24,7 @@
@@ -24,6 +24,7 @@
|
|
|
|
|
#include <AP_BLHeli/AP_BLHeli.h> |
|
|
|
|
#include <AP_Common/Semaphore.h> |
|
|
|
|
#include <AP_Scheduler/AP_Scheduler.h> |
|
|
|
|
#include <AP_VisualOdom/AP_VisualOdom.h> |
|
|
|
|
|
|
|
|
|
#include "GCS.h" |
|
|
|
|
|
|
|
|
@ -2772,7 +2773,7 @@ void GCS_MAVLINK::handle_data_packet(mavlink_message_t *msg)
@@ -2772,7 +2773,7 @@ void GCS_MAVLINK::handle_data_packet(mavlink_message_t *msg)
|
|
|
|
|
|
|
|
|
|
void GCS_MAVLINK::handle_vision_position_delta(mavlink_message_t *msg) |
|
|
|
|
{ |
|
|
|
|
AP_VisualOdom *visual_odom = get_visual_odom(); |
|
|
|
|
AP_VisualOdom *visual_odom = AP::visualodom(); |
|
|
|
|
if (visual_odom == nullptr) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|