#include <AP_Compass_BMM150.h>
|
enum | DevTypes {
DEVTYPE_HMC5883_OLD = 0x01,
DEVTYPE_HMC5883 = 0x07,
DEVTYPE_LSM303D = 0x02,
DEVTYPE_AK8963 = 0x04,
DEVTYPE_BMM150 = 0x05,
DEVTYPE_LSM9DS1 = 0x06,
DEVTYPE_LIS3MDL = 0x08,
DEVTYPE_AK09916 = 0x09,
DEVTYPE_IST8310 = 0x0A,
DEVTYPE_ICM20948 = 0x0B,
DEVTYPE_MMC3416 = 0x0C,
DEVTYPE_QMC5883L = 0x0D,
DEVTYPE_MAG3110 = 0x0E
} |
|
void | rotate_field (Vector3f &mag, uint8_t instance) |
|
void | publish_raw_field (const Vector3f &mag, uint8_t instance) |
|
void | correct_field (Vector3f &mag, uint8_t i) |
|
void | publish_filtered_field (const Vector3f &mag, uint8_t instance) |
|
void | set_last_update_usec (uint32_t last_update, uint8_t instance) |
|
uint8_t | register_compass (void) const |
|
void | set_dev_id (uint8_t instance, uint32_t dev_id) |
|
void | set_external (uint8_t instance, bool external) |
|
bool | is_external (uint8_t instance) |
|
void | set_rotation (uint8_t instance, enum Rotation rotation) |
|
bool | field_ok (const Vector3f &field) |
|
uint32_t | get_error_count () const |
|
Compass & | _compass |
|
AP_HAL::Semaphore * | _sem |
|
Definition at line 27 of file AP_Compass_BMM150.h.
◆ AP_Compass_BMM150()
◆ _compensate_xy()
int16_t AP_Compass_BMM150::_compensate_xy |
( |
int16_t |
xy, |
|
|
uint32_t |
rhall, |
|
|
int32_t |
txy1, |
|
|
int32_t |
txy2 |
|
) |
| |
|
private |
◆ _compensate_z()
int16_t AP_Compass_BMM150::_compensate_z |
( |
int16_t |
z, |
|
|
uint32_t |
rhall |
|
) |
| |
|
private |
◆ _load_trim_values()
bool AP_Compass_BMM150::_load_trim_values |
( |
| ) |
|
|
private |
◆ _update()
void AP_Compass_BMM150::_update |
( |
| ) |
|
|
private |
◆ init()
bool AP_Compass_BMM150::init |
( |
void |
| ) |
|
|
private |
◆ probe()
◆ read()
void AP_Compass_BMM150::read |
( |
void |
| ) |
|
|
overridevirtual |
◆ _accum_count
uint32_t AP_Compass_BMM150::_accum_count |
|
private |
◆ _compass_instance
uint8_t AP_Compass_BMM150::_compass_instance |
|
private |
◆ _dev
◆ _dig
struct { ... } AP_Compass_BMM150::_dig |
◆ _last_read_ms
uint32_t AP_Compass_BMM150::_last_read_ms |
|
private |
◆ _mag_accum
◆ _perf_err
◆ name
constexpr const char* AP_Compass_BMM150::name = "BMM150" |
|
static |
◆ x1
int8_t AP_Compass_BMM150::x1 |
◆ x2
int8_t AP_Compass_BMM150::x2 |
◆ xy1
uint8_t AP_Compass_BMM150::xy1 |
◆ xy2
int8_t AP_Compass_BMM150::xy2 |
◆ xyz1
uint16_t AP_Compass_BMM150::xyz1 |
◆ y1
int8_t AP_Compass_BMM150::y1 |
◆ y2
int8_t AP_Compass_BMM150::y2 |
◆ z1
uint16_t AP_Compass_BMM150::z1 |
◆ z2
int16_t AP_Compass_BMM150::z2 |
◆ z3
int16_t AP_Compass_BMM150::z3 |
◆ z4
int16_t AP_Compass_BMM150::z4 |
The documentation for this class was generated from the following files: