mirror of https://github.com/ArduPilot/ardupilot
Replay: instantiate SRV_Channels object
the init call in AP_Vehicle requires the singleton to be present
This commit is contained in:
parent
34603bbfd0
commit
90c4bd0ee8
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
#include <AP_Vehicle/AP_Vehicle.h>
|
#include <AP_Vehicle/AP_Vehicle.h>
|
||||||
#include <AP_Vehicle/AP_FixedWing.h>
|
#include <AP_Vehicle/AP_FixedWing.h>
|
||||||
|
#include <SRV_Channel/SRV_Channel.h>
|
||||||
|
|
||||||
#include "LogReader.h"
|
#include "LogReader.h"
|
||||||
|
|
||||||
|
@ -57,6 +58,8 @@ public:
|
||||||
NavEKF2 ekf2;
|
NavEKF2 ekf2;
|
||||||
NavEKF3 ekf3;
|
NavEKF3 ekf3;
|
||||||
|
|
||||||
|
SRV_Channels servo_channels;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Reference in New Issue