PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <sensor_mag.h>
Public Attributes | |
uint64_t | timestamp |
uint64_t | error_count |
uint32_t | device_id |
float | x |
float | y |
float | z |
float | temperature |
float | scaling |
int16_t | x_raw |
int16_t | y_raw |
int16_t | z_raw |
bool | is_external |
uint8_t | _padding0 [1] |
Definition at line 51 of file sensor_mag.h.
uint8_t sensor_mag_s::_padding0[1] |
Definition at line 65 of file sensor_mag.h.
uint32_t sensor_mag_s::device_id |
Definition at line 55 of file sensor_mag.h.
Referenced by PX4Magnetometer::ioctl(), UavcanMagnetometerBridge::mag2_sub_cb(), UavcanMagnetometerBridge::mag_sub_cb(), PX4Magnetometer::PX4Magnetometer(), and PX4Magnetometer::set_device_type().
uint64_t sensor_mag_s::error_count |
Definition at line 54 of file sensor_mag.h.
Referenced by PX4Magnetometer::set_error_count().
bool sensor_mag_s::is_external |
Definition at line 64 of file sensor_mag.h.
Referenced by UavcanMagnetometerBridge::mag2_sub_cb(), UavcanMagnetometerBridge::mag_sub_cb(), and PX4Magnetometer::set_external().
float sensor_mag_s::scaling |
Definition at line 60 of file sensor_mag.h.
Referenced by PX4Magnetometer::PX4Magnetometer(), PX4Magnetometer::set_scale(), and PX4Magnetometer::update().
float sensor_mag_s::temperature |
Definition at line 59 of file sensor_mag.h.
Referenced by PX4Magnetometer::set_temperature().
uint64_t sensor_mag_s::timestamp |
Definition at line 53 of file sensor_mag.h.
Referenced by MavlinkReceiver::handle_message_hil_sensor(), UavcanMagnetometerBridge::mag2_sub_cb(), UavcanMagnetometerBridge::mag_sub_cb(), and PX4Magnetometer::update().
float sensor_mag_s::x |
Definition at line 56 of file sensor_mag.h.
Referenced by UavcanMagnetometerBridge::mag2_sub_cb(), UavcanMagnetometerBridge::mag_sub_cb(), and PX4Magnetometer::update().
int16_t sensor_mag_s::x_raw |
Definition at line 61 of file sensor_mag.h.
Referenced by MavlinkStreamScaledIMU::send(), MavlinkStreamScaledIMU2::send(), MavlinkStreamScaledIMU3::send(), and PX4Magnetometer::update().
float sensor_mag_s::y |
Definition at line 57 of file sensor_mag.h.
Referenced by UavcanMagnetometerBridge::mag2_sub_cb(), UavcanMagnetometerBridge::mag_sub_cb(), and PX4Magnetometer::update().
int16_t sensor_mag_s::y_raw |
Definition at line 62 of file sensor_mag.h.
Referenced by MavlinkStreamScaledIMU::send(), MavlinkStreamScaledIMU2::send(), MavlinkStreamScaledIMU3::send(), and PX4Magnetometer::update().
float sensor_mag_s::z |
Definition at line 58 of file sensor_mag.h.
Referenced by UavcanMagnetometerBridge::mag2_sub_cb(), UavcanMagnetometerBridge::mag_sub_cb(), and PX4Magnetometer::update().
int16_t sensor_mag_s::z_raw |
Definition at line 63 of file sensor_mag.h.
Referenced by MavlinkStreamScaledIMU::send(), MavlinkStreamScaledIMU2::send(), MavlinkStreamScaledIMU3::send(), and PX4Magnetometer::update().