mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Vehicle: add instance for RichenPower generator
This commit is contained in:
parent
3001812630
commit
4296f6ed4b
@ -26,6 +26,7 @@
|
|||||||
#include <AP_BoardConfig/AP_BoardConfig_CAN.h>
|
#include <AP_BoardConfig/AP_BoardConfig_CAN.h>
|
||||||
#include <AP_Button/AP_Button.h>
|
#include <AP_Button/AP_Button.h>
|
||||||
#include <AP_GPS/AP_GPS.h>
|
#include <AP_GPS/AP_GPS.h>
|
||||||
|
#include <AP_Generator/AP_Generator_RichenPower.h>
|
||||||
#include <AP_Logger/AP_Logger.h>
|
#include <AP_Logger/AP_Logger.h>
|
||||||
#include <AP_Notify/AP_Notify.h> // Notify library
|
#include <AP_Notify/AP_Notify.h> // Notify library
|
||||||
#include <AP_Param/AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
@ -250,6 +251,10 @@ protected:
|
|||||||
static const struct AP_Param::GroupInfo var_info[];
|
static const struct AP_Param::GroupInfo var_info[];
|
||||||
static const struct AP_Scheduler::Task scheduler_tasks[];
|
static const struct AP_Scheduler::Task scheduler_tasks[];
|
||||||
|
|
||||||
|
#if GENERATOR_ENABLED
|
||||||
|
AP_Generator_RichenPower generator;
|
||||||
|
#endif
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
// delay() callback that processing MAVLink packets
|
// delay() callback that processing MAVLink packets
|
||||||
|
Loading…
Reference in New Issue
Block a user