Tracker: Remove links to AP_Camera

No longer needed
This commit is contained in:
Matt Lawrence 2020-02-11 20:46:20 -05:00 committed by Peter Barker
parent adcfb60850
commit 7c5f67227b
2 changed files with 0 additions and 18 deletions

View File

@ -1,9 +1,6 @@
#include "GCS_Mavlink.h"
#include "Tracker.h"
#include <AP_Camera/AP_Camera.h>
/*
* !!NOTE!!
*

View File

@ -250,25 +250,10 @@ bool Tracker::should_log(uint32_t mask)
}
#include <AP_Camera/AP_Camera.h>
#include <AP_AdvancedFailsafe/AP_AdvancedFailsafe.h>
#include <AP_Avoidance/AP_Avoidance.h>
#include <AP_ADSB/AP_ADSB.h>
/* dummy methods to avoid having to link against AP_Camera */
void AP_Camera::control_msg(const mavlink_message_t &) {}
void AP_Camera::configure(float, float, float, float, float, float, float) {}
void AP_Camera::control(float, float, float, float, float, float) {}
void AP_Camera::send_feedback(mavlink_channel_t chan) {}
void AP_Camera::take_picture() {}
namespace AP {
AP_Camera *camera() {
return nullptr;
}
};
/* end dummy methods to avoid having to link against AP_Camera */
// dummy method to avoid linking AFS
bool AP_AdvancedFailsafe::gcs_terminate(bool should_terminate, const char *reason) {return false;}
AP_AdvancedFailsafe *AP::advancedfailsafe() { return nullptr; }