APM:Libraries
AP_Compass_HIL.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "AP_Compass.h"
4 
5 #define HIL_NUM_COMPASSES 2
6 
8 {
9 public:
11  void read(void);
12  bool init(void);
13 
14  // detect the sensor
15  static AP_Compass_Backend *detect(Compass &compass);
16 
17 private:
19 };
static AP_Compass_Backend * detect(Compass &compass)
static Compass compass
Definition: AHRS_Test.cpp:20
uint8_t _compass_instance[HIL_NUM_COMPASSES]
AP_Compass_HIL(Compass &compass)
#define HIL_NUM_COMPASSES
Definition: AP_Compass_HIL.h:5