ardupilot/libraries/AP_Compass/Compass.h
jasonshort cf7eefd94b new Compass Lib
git-svn-id: https://arducopter.googlecode.com/svn/trunk@347 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-29 23:03:49 +00:00

22 lines
315 B
C++

#ifndef Compass_h
#define Compass_h
#include <inttypes.h>
class Compass
{
public:
virtual void init();
virtual void update();
virtual void calculate(float roll, float pitch);
int16_t mag_X;
int16_t mag_Y;
int16_t mag_Z;
float heading;
float heading_X;
float heading_Y;
};
#endif