2010-12-02 01:19:38 -04:00
|
|
|
#ifndef AP_Compass_HIL_H
|
|
|
|
#define AP_Compass_HIL_H
|
|
|
|
|
2011-02-14 00:25:20 -04:00
|
|
|
#include "Compass.h"
|
2010-12-02 01:19:38 -04:00
|
|
|
|
|
|
|
class AP_Compass_HIL : public Compass
|
|
|
|
{
|
|
|
|
public:
|
2011-02-14 00:25:20 -04:00
|
|
|
AP_Compass_HIL(AP_Var::Key key = AP_Var::k_key_none) : Compass(key) {}
|
2010-12-02 01:54:02 -04:00
|
|
|
|
2011-02-14 00:25:20 -04:00
|
|
|
virtual bool init();
|
|
|
|
virtual void read();
|
|
|
|
void setHIL(float Mag_X, float Mag_Y, float Mag_Z);
|
2010-12-02 01:19:38 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|