摄像头可视化

摄像头Node

源码下载:

https://github.com/ros-drivers/usb_cam

源码编译:

1
catkin_make

调试节点

  1. 运行usb_cam节点
1
rosrun usb_cam usb_cam_node
  1. 启动图像调试节点
1
rosrun image_view image_view image:=/usb_cam/image_raw

rviz调试节点

  1. 添加Image视图

  1. 设置Image Topic/usb_cam/image_raw