Rover: compatibility with revised AP_Frsky_Telem class
This commit is contained in:
parent
50eecf58a4
commit
b5f75459f2
@ -47,7 +47,8 @@ Rover::Rover(void) :
|
|||||||
ground_start_count(20),
|
ground_start_count(20),
|
||||||
throttle(500),
|
throttle(500),
|
||||||
#if FRSKY_TELEM_ENABLED == ENABLED
|
#if FRSKY_TELEM_ENABLED == ENABLED
|
||||||
frsky_telemetry(ahrs, battery),
|
inertial_nav(ahrs),
|
||||||
|
frsky_telemetry(ahrs, battery, sonar, inertial_nav),
|
||||||
#endif
|
#endif
|
||||||
home(ahrs.get_home()),
|
home(ahrs.get_home()),
|
||||||
G_Dt(0.02)
|
G_Dt(0.02)
|
||||||
|
@ -287,6 +287,8 @@ private:
|
|||||||
AP_BattMonitor battery;
|
AP_BattMonitor battery;
|
||||||
|
|
||||||
#if FRSKY_TELEM_ENABLED == ENABLED
|
#if FRSKY_TELEM_ENABLED == ENABLED
|
||||||
|
// Inertial Navigation
|
||||||
|
AP_InertialNav_NavEKF inertial_nav;
|
||||||
// FrSky telemetry support
|
// FrSky telemetry support
|
||||||
AP_Frsky_Telem frsky_telemetry;
|
AP_Frsky_Telem frsky_telemetry;
|
||||||
#endif
|
#endif
|
||||||
|
@ -38,6 +38,7 @@ LIBRARIES += AP_Navigation
|
|||||||
LIBRARIES += APM_Control
|
LIBRARIES += APM_Control
|
||||||
LIBRARIES += AP_L1_Control
|
LIBRARIES += AP_L1_Control
|
||||||
LIBRARIES += AP_BoardConfig
|
LIBRARIES += AP_BoardConfig
|
||||||
|
LIBRARIES += AP_InertialNav
|
||||||
LIBRARIES += AP_Frsky_Telem
|
LIBRARIES += AP_Frsky_Telem
|
||||||
LIBRARIES += AP_Notify
|
LIBRARIES += AP_Notify
|
||||||
LIBRARIES += AP_BattMonitor
|
LIBRARIES += AP_BattMonitor
|
||||||
|
@ -10,6 +10,7 @@ def build(bld):
|
|||||||
'APM_Control',
|
'APM_Control',
|
||||||
'AP_Arming',
|
'AP_Arming',
|
||||||
'AP_Camera',
|
'AP_Camera',
|
||||||
|
'AP_InertialNav',
|
||||||
'AP_Frsky_Telem',
|
'AP_Frsky_Telem',
|
||||||
'AP_L1_Control',
|
'AP_L1_Control',
|
||||||
'AP_Menu',
|
'AP_Menu',
|
||||||
|
Loading…
Reference in New Issue
Block a user