Browse Source

AP_AHRS: fix example

master
Peter Barker 6 years ago committed by Randy Mackay
parent
commit
0c24810a48
  1. 3
      libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp

3
libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
#include <AP_BoardConfig/AP_BoardConfig.h>
#include <GCS_MAVLink/GCS_Dummy.h>
#include <AP_RangeFinder/AP_RangeFinder.h>
#include <AP_Logger/AP_Logger.h>
void setup();
void loop();
@ -22,6 +23,8 @@ static Compass compass; @@ -22,6 +23,8 @@ static Compass compass;
static AP_GPS gps;
static AP_Baro barometer;
static AP_SerialManager serial_manager;
AP_Int32 logger_bitmask;
static AP_Logger logger{logger_bitmask};
class DummyVehicle {
public:

Loading…
Cancel
Save