File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # 如何查看同步板上传数据
2+ 如果是USB连接,则需要安装串口工具,如:cutecom。
3+ ``` bash
4+ sudo apt-get install cutecom # 下载(可选)
5+ sudo cutecom # 启动
6+ ```
7+ <p align =" center " >
8+ <img style =" width :50% ;" alt =" cutecom " src =" ../picture/cutecom.png " >
9+ </p >
10+
11+ 如果是网口连接: 则使用nc指令,Linux中nc命令是一个功能强大的网络工具,全称是netcat
12+
13+ ``` bash
14+ # 192.168.1.188 8888 表示同步板的IP地址和端口
15+ echo “Hello InfiniteSense” | nc -u 192.168.1.188 8888
16+ ```
17+ <p align =" center " >
18+ <img style =" width :50% ;" alt =" nc " src =" ../picture/nc.png " >
19+ </p >
20+
121
222# IMU Data
323``` json
424{
5- "f" : " imu" ,
6- "t" : 1745767254869878 ,
7- "c" : 920480 ,
8- "d" : [
9- 0.416606 ,
10- -0.181966 ,
11- 9.993754 ,
12- 0.003141 ,
13- 0.001038 ,
14- 0.000016 ,
15- 28.50241
25+ "f" : " imu" , # 数据类型
26+ "t" : 1745767254869878 , # 时间戳
27+ "c" : 920480 , # 采集帧数
28+ "d" : [ # IMU原始数据
29+ 0.416606 , # 加速度计x轴
30+ -0.181966 , # 加速度计y轴
31+ 9.993754 , # 加速度计z轴
32+ 0.003141 , # 陀螺仪x轴
33+ 0.001038 , # 陀螺仪y轴
34+ 0.000016 , # 陀螺仪z轴
35+ 28.50241 # 温度
1636 ],
17- "q" : [
18- 0.999765 ,
19- -0.009251 ,
20- -0.021048 ,
21- -0.013569
37+ "q" : [ # 自带IMU计算的姿态
38+ 0.999765 , # 四元数w
39+ -0.009251 , # 四元数x
40+ -0.021048 , # 四元数y
41+ -0.013569 # 四元数z
2242 ]
2343}
2444```
2747# Sync Time Data
2848``` json
2949{
30- "a" : 1740815274 ,
3150 "f" : " b" ,
51+ "a" : 1740815274 ,
3252 "b" : 1740815274
3353}
3454
3757# Device trigger status
3858``` json
3959{
40- "f" : " t" ,
41- "s" : 32 ,
42- "t" : 1745767200873878 ,
43- "c" : 893482
60+ "f" : " t" , # 数据类型
61+ "s" : 32 , # (uint8_t)状态位
62+ "t" : 1745767200873878 , # 时间戳
63+ "c" : 893482 # 采集帧数
4464}
4565```
You can’t perform that action at this time.
0 commit comments