mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
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:
10
msg/accel_calibration.msg
Normal file
10
msg/accel_calibration.msg
Normal 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
10
msg/gyro_calibration.msg
Normal 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
10
msg/mag_calibration.msg
Normal 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
|
||||
Reference in New Issue
Block a user