Replay: instantiate SRV_Channels object

the init call in AP_Vehicle requires the singleton to be present
This commit is contained in:
Peter Barker 2024-03-07 20:14:05 +11:00 committed by Andrew Tridgell
parent 34603bbfd0
commit 90c4bd0ee8
1 changed files with 3 additions and 0 deletions

View File

@ -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: