1.运行kinect2节点:
roslaunch kinect2_bridge kinect2_bridge.launch
2.查看图像:
(1)使用image_view,image_view包是用来查看ROS中的image话题的
用法:
rosrun image_view image_view image:=<image topic>
示例:
rosrun image_view image_view image:=/kinect2/qhd/image_color
注:如果image_view后面没有加话题名称,会报错:
lan@lan-Lenovo-M490:~