#include <Compass.h>
Inherited by AP_Compass_HIL, and AP_Compass_HMC5843.
Public Member Functions | |
virtual bool | init (int initialise_wire_lib=1)=0 |
virtual void | read ()=0 |
virtual void | calculate (float roll, float pitch)=0 |
virtual void | set_orientation (const Matrix3f &rotation_matrix)=0 |
virtual void | set_offsets (int x, int y, int z)=0 |
virtual void | set_declination (float radians)=0 |
Public Attributes | |
int | mag_x |
int | mag_y |
int | mag_z |
float | heading |
float | heading_x |
float | heading_y |
unsigned long | last_update |
Definition at line 7 of file Compass.h.
virtual void Compass::calculate | ( | float | roll, | |
float | pitch | |||
) | [pure virtual] |
Implemented in AP_Compass_HIL, and AP_Compass_HMC5843.
virtual bool Compass::init | ( | int | initialise_wire_lib = 1 |
) | [pure virtual] |
Implemented in AP_Compass_HIL, and AP_Compass_HMC5843.
virtual void Compass::read | ( | ) | [pure virtual] |
Implemented in AP_Compass_HIL, and AP_Compass_HMC5843.
virtual void Compass::set_declination | ( | float | radians | ) | [pure virtual] |
Implemented in AP_Compass_HIL, and AP_Compass_HMC5843.
virtual void Compass::set_offsets | ( | int | x, | |
int | y, | |||
int | z | |||
) | [pure virtual] |
Implemented in AP_Compass_HIL, and AP_Compass_HMC5843.
virtual void Compass::set_orientation | ( | const Matrix3f & | rotation_matrix | ) | [pure virtual] |
Implemented in AP_Compass_HIL, and AP_Compass_HMC5843.
float Compass::heading |
float Compass::heading_x |
float Compass::heading_y |
unsigned long Compass::last_update |
int Compass::mag_x |
int Compass::mag_y |
int Compass::mag_z |