查看当前topic消息种类
rostopic list
终端输出
/clicked_point
/initialpose
/move_base_simple/goal
/os_node/imu_packets
/os_node/lidar_packets
/ouster/imu
/ouster/imu_packets
/ouster/lidar_packets
/ouster/nearir_image
/ouster/os_nodelet_mgr/bond
/ouster/points
/ouster/points2
/ouster/range_image
/ouster/reflec_image
/ouster/signal_image
/rosout
/rosout_agg
/tf
/tf_static
可以看到ouster 是带有内置imu的
imu消息的名称是 /ouster/imu
查看其消息类型:
rostopic info /ouster/imu
终端输出
Type: sensor_msgs/Imu
Publishers:
* /ouster/os_nodelet_mgr (http://JKKC:38655/)
Subscribers: None
查看点云数据类型
rostopic info /ouster/points
终端输出
Type: sensor_msgs/PointCloud2
Publishers:
* /ouster/os_nodelet_mgr (http://JKKC:41713/)
Subscribers:
* /rviz (http://JKKC:37099/)
* /ouster/os_nodelet_mgr (http://JKKC:41713/)
查看点云标签
rostopic echo /ouster/points/fields
其中一包数据为:
-
name: "x"
offset: 0
datatype: 7
count: 1
-
name: "y"
offset: 4
datatype: 7
count: 1
-
name: "z"
offset: 8
datatype: 7
count: 1
-
name: "intensity"
offset: 16
datatype: 7
count: 1
-
name: "t"
offset: 20
datatype: 6
count: 1
-
name: "reflectivity"
offset: 24
datatype: 4
count: 1
-
name: "ring"
offset: 26
datatype: 2
count: 1
-
name: "ambient"
offset: 28
datatype: 4
count: 1
-
name: "range"
offset: 32
datatype: 6
count: 1
---
所以在雷达数据中的标签有:
在该驱动文件中,启动rviz后,默认有3个tf
这3个方向是不一致的,其中
os_lidar 坐标系
os_sensor 坐标系
驱动包默认的rviz显示
其中包含了