sensors: first part of a calibration refactor

This adds uORB messages to publish calibration data by sensors which is
then consumed by the sensors. Currently this is only used on Snapdragon
and guarded by QURT ifdefs.
This commit is contained in:
Julian Oes
2016-03-07 22:32:02 +01:00
parent 76a8bea1c1
commit f24b2a701f
6 changed files with 314 additions and 88 deletions

10
msg/accel_calibration.msg Normal file
View File

@@ -0,0 +1,10 @@
uint64 timestamp
int32 device_id
float32 x_offset
float32 x_scale
float32 y_offset
float32 y_scale
float32 z_offset
float32 z_scale

10
msg/gyro_calibration.msg Normal file
View File

@@ -0,0 +1,10 @@
uint64 timestamp
int32 device_id
float32 x_offset
float32 x_scale
float32 y_offset
float32 y_scale
float32 z_offset
float32 z_scale

10
msg/mag_calibration.msg Normal file
View File

@@ -0,0 +1,10 @@
uint64 timestamp
int32 device_id
float32 x_offset
float32 x_scale
float32 y_offset
float32 y_scale
float32 z_offset
float32 z_scale