ROS_Kinetic_12 ROS程序基础Eclipse_C++(三)usb camera

软件包下载地址:https://github.com/bosch-ros-pkg/usb_cam

下载后,放到catkin_ws中src下;在Eclipse中编译:

ROS_Kinetic_12 ROS程序基础Eclipse_C++(三)usb camera-LMLPHP

注意,其中"pixel_format",如果编译后不能正常启动节点,需要修改mjpeg为yuyv。

ROS_Kinetic_12 ROS程序基础Eclipse_C++(三)usb camera-LMLPHP

ROS_Kinetic_12 ROS程序基础Eclipse_C++(三)usb camera-LMLPHP

编译完成后,启动节点:

ROS_Kinetic_12 ROS程序基础Eclipse_C++(三)usb camera-LMLPHP

ROS_Kinetic_12 ROS程序基础Eclipse_C++(三)usb camera-LMLPHP

ROS_Kinetic_12 ROS程序基础Eclipse_C++(三)usb camera-LMLPHP

05-06 08:27