• ouster-32激光雷达使用---雷达输出数据分析


    雷达输出数据分析

    所有数据

    查看当前topic消息种类

    rostopic list
    
    • 1

    终端输出

    /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
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19

    imu数据

    可以看到ouster 是带有内置imu的
    imu消息的名称是 /ouster/imu
    查看其消息类型:

    rostopic info /ouster/imu
    
    • 1

    终端输出

    Type: sensor_msgs/Imu
    
    Publishers: 
     * /ouster/os_nodelet_mgr (http://JKKC:38655/)
    
    Subscribers: None
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6

    雷达数据

    查看点云数据类型

    rostopic info /ouster/points
    
    • 1

    终端输出

    Type: sensor_msgs/PointCloud2
    
    Publishers: 
     * /ouster/os_nodelet_mgr (http://JKKC:41713/)
    
    Subscribers: 
     * /rviz (http://JKKC:37099/)
     * /ouster/os_nodelet_mgr (http://JKKC:41713/)
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8

    查看点云标签

    rostopic echo /ouster/points/fields
    
    • 1

    其中一包数据为:

    - 
      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
    ---
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46

    所以在雷达数据中的标签有:

    • x
    • y
    • z
    • intensity
    • t
    • reflectivity
    • ring
    • ambient
    • range

    坐标系

    在该驱动文件中,启动rviz后,默认有3个tf
    在这里插入图片描述

    • os_imu
    • os_sensor
    • os_lidar

    这3个方向是不一致的,其中

    • os_imu 和 os_sensor 是以连接点的对面为x轴,左为y轴,上为z轴,满足右手定则
    • os_lidar 是以连接点的方向为x轴,左为y轴,上为z轴,满足右手定则

    os_lidar 坐标系
    在这里插入图片描述
    os_sensor 坐标系
    在这里插入图片描述

    Rviz显示

    驱动包默认的rviz显示
    在这里插入图片描述

    其中包含了

    • 根据反射率转换成的类似红外图像的图片 reflectivity
    • 将距离转成图形的深度图 range
    • 点云 PointClound2
    • TF
  • 相关阅读:
    闭包和装饰器
    【01】LVGL-CodeBlock模拟器安装 | LVGL工程下载 | PC端模拟LVGL步骤
    优维EasyOps,打造新一代运维新方式
    辛弃疾,笔墨剑影的一生
    java (gc)机制
    java split教程
    IOday5
    自定义下拉框级联方法
    虹科案例 | 如何加快对重型卡车的海关检查?
    Android 10.0后创建文件
  • 原文地址:https://blog.csdn.net/qq_32761549/article/details/128097999