You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
334 B
19 lines
334 B
#pragma once |
|
|
|
#include "AP_Compass.h" |
|
|
|
#define HIL_NUM_COMPASSES 2 |
|
|
|
class AP_Compass_HIL : public AP_Compass_Backend |
|
{ |
|
public: |
|
AP_Compass_HIL(); |
|
void read(void) override; |
|
bool init(void); |
|
|
|
// detect the sensor |
|
static AP_Compass_Backend *detect(); |
|
|
|
private: |
|
uint8_t _compass_instance[HIL_NUM_COMPASSES]; |
|
};
|
|
|