Skip to content

SensorAccel (UORB message)

TOPICS: sensor_accel

Fields

NameTypeUnit [Frame]Range/EnumDescription
timestampuint64time since system start (microseconds)
timestamp_sampleuint64
device_iduint32unique device ID for the sensor that does not change between power cycles
xfloat32acceleration in the FRD board frame X-axis in m/s^2
yfloat32acceleration in the FRD board frame Y-axis in m/s^2
zfloat32acceleration in the FRD board frame Z-axis in m/s^2
temperaturefloat32temperature in degrees Celsius
error_countuint32
clip_counteruint8[3]clip count per axis in the sample period
samplesuint8number of raw samples that went into this message

Constants

NameTypeValueDescription
ORB_QUEUE_LENGTHuint88

Source Message

Source file (GitHub)

Click here to see original file
c
uint64 timestamp          # time since system start (microseconds)
uint64 timestamp_sample

uint32 device_id          # unique device ID for the sensor that does not change between power cycles

float32 x                 # acceleration in the FRD board frame X-axis in m/s^2
float32 y                 # acceleration in the FRD board frame Y-axis in m/s^2
float32 z                 # acceleration in the FRD board frame Z-axis in m/s^2

float32 temperature       # temperature in degrees Celsius

uint32 error_count

uint8[3] clip_counter     # clip count per axis in the sample period

uint8 samples             # number of raw samples that went into this message

uint8 ORB_QUEUE_LENGTH = 8