mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_AHRS: fix example
This commit is contained in:
parent
156f0ff496
commit
0c24810a48
@ -7,6 +7,7 @@
|
|||||||
#include <AP_BoardConfig/AP_BoardConfig.h>
|
#include <AP_BoardConfig/AP_BoardConfig.h>
|
||||||
#include <GCS_MAVLink/GCS_Dummy.h>
|
#include <GCS_MAVLink/GCS_Dummy.h>
|
||||||
#include <AP_RangeFinder/AP_RangeFinder.h>
|
#include <AP_RangeFinder/AP_RangeFinder.h>
|
||||||
|
#include <AP_Logger/AP_Logger.h>
|
||||||
|
|
||||||
void setup();
|
void setup();
|
||||||
void loop();
|
void loop();
|
||||||
@ -22,6 +23,8 @@ static Compass compass;
|
|||||||
static AP_GPS gps;
|
static AP_GPS gps;
|
||||||
static AP_Baro barometer;
|
static AP_Baro barometer;
|
||||||
static AP_SerialManager serial_manager;
|
static AP_SerialManager serial_manager;
|
||||||
|
AP_Int32 logger_bitmask;
|
||||||
|
static AP_Logger logger{logger_bitmask};
|
||||||
|
|
||||||
class DummyVehicle {
|
class DummyVehicle {
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user