ardupilot/libraries/AP_Compass/AP_Compass_HIL.h
DrZiplok@gmail.com 1f04ecbfdb Major update including AP_Var support.
Most of the compass functionality is now abstracted in a base class, with the various sub-classes implementing just their unique functionality.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1647 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-14 04:25:20 +00:00

17 lines
331 B
C++

#ifndef AP_Compass_HIL_H
#define AP_Compass_HIL_H
#include "Compass.h"
class AP_Compass_HIL : public Compass
{
public:
AP_Compass_HIL(AP_Var::Key key = AP_Var::k_key_none) : Compass(key) {}
virtual bool init();
virtual void read();
void setHIL(float Mag_X, float Mag_Y, float Mag_Z);
};
#endif