1、配置空间环境变量
cd catkin_ws
source devel/setup.bash
2、采集数据
roslaunch usb_cam usb_cam-test.launch
3、存包
rosbag record /usb_cam/image_raw
4、播放并重映射
rosbag play ros.bag /image_raw:=/camera/image_raw
rosrun image_view image_view image:=/camera/image_raw