ROS2与Ailibot2入门教程-测试雷达
ROS2与Ailibot2入门教程-测试雷达
说明:
- 介绍如何测试雷达,适合思岚雷达A1和A2
相关设备:
- ailibot2差速系列:采购Ailibot2-D2,采购Ailibot2-D4
- ailibot2全向系列:采购Ailibot2-M4,采购Ailibot2-O3,采购Ailibot2-O4
步骤:
- 小车端,启动雷达
ros2 launch ailibot2_bringup laser.launch.py
- 小车端或PC端,查看话题列表
ros2 topic list
/parameter_events
/rosout
/scan
- 小车端或PC端,查看激光话题
ros2 topic echo /scan
---
header:
stamp:
sec: 1698206045
nanosec: 893471534
frame_id: laser_link
angle_min: -3.1241390705108643
angle_max: 3.1415927410125732
angle_increment: 0.008714509196579456
time_increment: 0.00018762638501357287
scan_time: 0.13490337133407593
range_min: 0.15000000596046448
range_max: 12.0
ranges:
- 0.2800000011920929
- 0.2800000011920929
- 0.2840000092983246
- 0.2849999964237213
- 0.2849999964237213
- 0.2809999883174896
- 0.27799999713897705
- 0.2809999883174896
- 0.2809999883174896
- .inf
- 0.2939999997615814
- 0.2939999997615814
- 0.2930000126361847
- 0.26899999380111694
- 0.26899999380111694
- .inf
- .inf
- 0.27900001406669617
- 0.27900001406669617
- .inf
- .inf
- .inf
- 0.33500000834465027
- 0.33500000834465027
- 0.33500000834465027
- 0.33500000834465027
- 0.335999995470047
- 0.34700000286102295
- 0.28600001335144043
- 0.28600001335144043
- 0.21199999749660492
- 0.2849999964237213
- .inf
- .inf
- .inf
- .inf
- .inf
- .inf
- .inf
- .inf
- 0.3659999966621399
- 0.3659999966621399
- .inf
- 0.3490000069141388
- 0.3490000069141388
- 0.34200000762939453
- 0.328000009059906
- 0.328000009059906
- 0.3160000145435333
- 0.3100000023841858
- 0.3100000023841858
- 0.30399999022483826
- 0.2939999997615814
- 0.2849999964237213
- 0.2849999964237213
- .inf
- 0.2800000011920929
- 0.2800000011920929
- 0.2759999930858612
- 0.2720000147819519
- 0.2639999985694885
- 0.26899999380111694
- 0.2460000067949295
- 0.2460000067949295
- 0.2529999911785126
- 0.2529999911785126
- 0.23899999260902405
- 0.23899999260902405
- 0.24300000071525574
- 0.23199999332427979
- 0.2370000034570694
- 0.23399999737739563
- 0.23399999737739563
- 0.22300000488758087
- 0.2280000001192093
- 0.21899999678134918
- 0.21899999678134918
- 0.2160000056028366
- .inf
- 0.21199999749660492
- 0.21199999749660492
- 0.21400000154972076
- 0.20800000429153442
- 0.20600000023841858
- 0.20600000023841858
- 0.2029999941587448
- 0.20200000703334808
- .inf
- 0.1979999989271164
- 0.1979999989271164
- 0.19599999487400055
- 0.19499999284744263
- 0.19300000369548798
- 0.19300000369548798
- 0.19099999964237213
- 0.1899999976158142
- 0.18799999356269836
- 0.18799999356269836
- 0.18700000643730164
- 0.1860000044107437
- 0.18400000035762787
- 0.18400000035762787
- 0.18199999630451202
- 0.1809999942779541
- 0.18000000715255737
- 0.17800000309944153
- 0.17800000309944153
- 0.1770000010728836
- 0.17599999904632568
- 0.17499999701976776
- 0.17499999701976776
- 0.17299999296665192
- 0.1720000058412552
- 0.17100000381469727
- 0.17000000178813934
- 0.16899999976158142
- 0.16899999976158142
- 0.1679999977350235
- 0.16699999570846558
- 0.16699999570846558
- 0.16599999368190765
- 0.16599999368190765
- 0.164000004529953
- 0.164000004529953
- 0.16300000250339508
- 0.16300000250339508
- 0.16200000047683716
- 0.16099999845027924
- '...'
intensities:
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 0.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 0.0
- 0.0
- 47.0
- 47.0
- 0.0
- 0.0
- 0.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 47.0
- 47.0
- 0.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 0.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 0.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 0.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- 47.0
- '...'
---
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号