ROS之usb_cam

source devel/setup.*sh
roslaunch usb_cam usb_cam-test.launch

rqt_graph查看动态消息图
当我们把鼠标放在/usb_cam/image_raw上面,相应的node(蓝色和绿色)和topic(红色)高亮

查看话题类型
rostopic type /usb_cam/image_raw
打印结果为sensor_msgs/Image

rosrun image_view image_view image:=xx

原文地址:https://www.cnblogs.com/Todd-Qi/p/10831455.html