#include <APM_Compass.h>
Public Member Functions | |
APM_Compass_HIL_Class () | |
bool | Init (int initialiseWireLib=1) |
void | Read () |
void | Calculate (float roll, float pitch) |
void | SetOrientation (const Matrix3f &rotationMatrix) |
void | SetOffsets (int x, int y, int z) |
void | SetDeclination (float radians) |
void | setHIL (float Mag_X, float Mag_Y, float Mag_Z) |
Public Attributes | |
int | Mag_X |
int | Mag_Y |
int | Mag_Z |
float | Heading |
float | Heading_X |
float | Heading_Y |
unsigned long | lastUpdate |
Definition at line 86 of file APM_Compass.h.
APM_Compass_HIL_Class::APM_Compass_HIL_Class | ( | ) |
Definition at line 237 of file APM_Compass.cpp.
void APM_Compass_HIL_Class::Calculate | ( | float | roll, | |
float | pitch | |||
) |
Definition at line 289 of file APM_Compass.cpp.
bool APM_Compass_HIL_Class::Init | ( | int | initialiseWireLib = 1 |
) |
Definition at line 249 of file APM_Compass.cpp.
void APM_Compass_HIL_Class::Read | ( | ) |
Definition at line 284 of file APM_Compass.cpp.
void APM_Compass_HIL_Class::SetDeclination | ( | float | radians | ) |
Definition at line 348 of file APM_Compass.cpp.
void APM_Compass_HIL_Class::setHIL | ( | float | Mag_X, | |
float | Mag_Y, | |||
float | Mag_Z | |||
) |
Definition at line 353 of file APM_Compass.cpp.
void APM_Compass_HIL_Class::SetOffsets | ( | int | x, | |
int | y, | |||
int | z | |||
) |
Definition at line 341 of file APM_Compass.cpp.
void APM_Compass_HIL_Class::SetOrientation | ( | const Matrix3f & | rotationMatrix | ) |
Definition at line 332 of file APM_Compass.cpp.
Definition at line 98 of file APM_Compass.h.
Definition at line 99 of file APM_Compass.h.
Definition at line 100 of file APM_Compass.h.
unsigned long APM_Compass_HIL_Class::lastUpdate |
Definition at line 101 of file APM_Compass.h.
Definition at line 95 of file APM_Compass.h.
Definition at line 96 of file APM_Compass.h.
Definition at line 97 of file APM_Compass.h.