Add imu write & read

This commit is contained in:
John Zhao
2018-04-10 17:48:27 +08:00
parent 46b5ed077a
commit b81a905e78
4 changed files with 161 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ IMU 包/小包,是一组 IMU 数据。
| Name | Offset | FrameID | Accelerometer | Temperature | Gyroscope |
| :--- | :----- | :------ | :------------ | :---------- | :-------- |
| 字节数 | 2 | 2 | 6 | 2 | 6 |
| 字节数 | 2 | 2 | 3 | 1 | 3 |
| 类型 | int16_t | uint16_t | int8_t * 3 | int8_t | int8_t * 3 |
| Description | 相对基准时间戳的偏移量 | 图像帧 ID | 加速度计 x y z 三轴的值 | IMU 的温度 | 陀螺仪 x y z 三轴的值 |