PX4 Firmware
PX4 Autopilot Software http://px4.io
sensor_mag_s Struct Reference

#include <sensor_mag.h>

Collaboration diagram for sensor_mag_s:

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]
 

Detailed Description

Definition at line 51 of file sensor_mag.h.

Member Data Documentation

◆ _padding0

uint8_t sensor_mag_s::_padding0[1]

Definition at line 65 of file sensor_mag.h.

◆ device_id

◆ error_count

uint64_t sensor_mag_s::error_count

Definition at line 54 of file sensor_mag.h.

Referenced by PX4Magnetometer::set_error_count().

◆ is_external

bool sensor_mag_s::is_external

◆ scaling

float sensor_mag_s::scaling

◆ temperature

float sensor_mag_s::temperature

Definition at line 59 of file sensor_mag.h.

Referenced by PX4Magnetometer::set_temperature().

◆ timestamp

◆ x

◆ x_raw

◆ y

◆ y_raw

◆ z

◆ z_raw


The documentation for this struct was generated from the following file: