mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Vehicle: add support for the SmartAudio protocol
Co-authored-by: luis.martinez.exts <luis.martinez@juntadeandalucia.es>
This commit is contained in:
parent
33fee211a4
commit
b79ff9475d
@ -144,8 +144,13 @@ void AP_Vehicle::setup()
|
||||
// init library used for visual position estimation
|
||||
visual_odom.init();
|
||||
#endif
|
||||
|
||||
vtx.init();
|
||||
|
||||
#if HAL_SMARTAUDIO_ENABLED
|
||||
smartaudio.init();
|
||||
#endif
|
||||
|
||||
#if AP_PARAM_KEY_DUMP
|
||||
AP_Param::show_all(hal.console, true);
|
||||
#endif
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include <AP_MSP/AP_MSP.h>
|
||||
#include <AP_Frsky_Telem/AP_Frsky_Parameters.h>
|
||||
#include <AP_ExternalAHRS/AP_ExternalAHRS.h>
|
||||
#include <AP_VideoTX/AP_SmartAudio.h>
|
||||
|
||||
class AP_Vehicle : public AP_HAL::HAL::Callbacks {
|
||||
|
||||
@ -319,6 +320,10 @@ protected:
|
||||
AP_ExternalAHRS externalAHRS;
|
||||
#endif
|
||||
|
||||
#if HAL_SMARTAUDIO_ENABLED
|
||||
AP_SmartAudio smartaudio;
|
||||
#endif
|
||||
|
||||
static const struct AP_Param::GroupInfo var_info[];
|
||||
static const struct AP_Scheduler::Task scheduler_tasks[];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user