ReganChai / objectTracking

在 ROS 环境下实现基于 Camshift 的目标跟踪
11 stars 5 forks source link

roslaunch camshift start.launch出错 #3

Open LeisureLei opened 5 years ago

LeisureLei commented 5 years ago

... logging to /home/leibing/.ros/log/d452dd4e-7c7c-11e9-9a9e-b8763fa5fafd/roslaunch-leibing-ThinkPad-Edge-E431-9442.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://leibing-ThinkPad-Edge-E431:34945/

SUMMARY

CLEAR PARAMETERS

PARAMETERS

NODES / listener (camshift/listener) publish (camshift/publish) usb_cam (usb_cam/usb_cam_node)

ROS_MASTER_URI=http://localhost:11311

process[listener-1]: started with pid [9460] process[publish-2]: started with pid [9461] process[usb_cam-3]: started with pid [9462] [ INFO] [1558522875.175714756]: using default calibration URL [ INFO] [1558522875.175820533]: camera calibration URL: file:///home/leibing/.ros/camera_info/head_camera.yaml [ INFO] [1558522875.175901330]: Unable to open camera calibration file [/home/leibing/.ros/camera_info/head_camera.yaml] [ WARN] [1558522875.175951036]: Camera calibration file /home/leibing/.ros/camera_info/head_camera.yaml not found. [ INFO] [1558522875.175994726]: Starting 'head_camera' (/dev/video0) at 640x480 via mmap (yuyv) at 30 FPS [ WARN] [1558522875.266052545]: sh: 1: v4l2-ctl: not found

[ WARN] [1558522875.268035394]: sh: 1: v4l2-ctl: not found

[ WARN] [1558522875.270440258]: sh: 1: v4l2-ctl: not found

[ WARN] [1558522875.272645466]: sh: 1: v4l2-ctl: not found

[ INFO] [1558522875.272727440]: V4L2_CID_FOCUS_AUTO is not supported [ WARN] [1558522875.275119904]: sh: 1: v4l2-ctl: not found

================================================================================REQUIRED process [listener-1] has died! process has finished cleanly log file: /home/leibing/.ros/log/d452dd4e-7c7c-11e9-9a9e-b8763fa5fafd/listener-1*.log Initiating shutdown!

[usb_cam-3] killing on exit [publish-2] killing on exit

[listener-1] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done

ReganChai commented 5 years ago

... logging to /home/leibing/.ros/log/d452dd4e-7c7c-11e9-9a9e-b8763fa5fafd/roslaunch-leibing-ThinkPad-Edge-E431-9442.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB. started roslaunch server http://leibing-ThinkPad-Edge-E431:34945/ SUMMARY CLEAR PARAMETERS

/usb_cam/

PARAMETERS

/rosdistro: kinetic /rosversion: 1.12.14 /usb_cam/autofocus: True /usb_cam/brightness: 32 /usb_cam/camera_frame_id: camera_link /usb_cam/contrast: 32 /usb_cam/framerate: 30 /usb_cam/image_height: 480 /usb_cam/image_width: 640 /usb_cam/pixel_format: yuyv /usb_cam/saturation: 32 /usb_cam/video_device: /dev/video0

NODES / listener (camshift/listener) publish (camshift/publish) usb_cam (usb_cam/usb_cam_node) ROS_MASTER_URI=http://localhost:11311 process[listener-1]: started with pid [9460] process[publish-2]: started with pid [9461] process[usb_cam-3]: started with pid [9462] [ INFO] [1558522875.175714756]: using default calibration URL [ INFO] [1558522875.175820533]: camera calibration URL: file:///home/leibing/.ros/camera_info/head_camera.yaml [ INFO] [1558522875.175901330]: Unable to open camera calibration file [/home/leibing/.ros/camera_info/head_camera.yaml] [ WARN] [1558522875.175951036]: Camera calibration file /home/leibing/.ros/camera_info/head_camera.yaml not found. [ INFO] [1558522875.175994726]: Starting 'head_camera' (/dev/video0) at 640x480 via mmap (yuyv) at 30 FPS [ WARN] [1558522875.266052545]: sh: 1: v4l2-ctl: not found [ WARN] [1558522875.268035394]: sh: 1: v4l2-ctl: not found [ WARN] [1558522875.270440258]: sh: 1: v4l2-ctl: not found [ WARN] [1558522875.272645466]: sh: 1: v4l2-ctl: not found [ INFO] [1558522875.272727440]: V4L2_CID_FOCUS_AUTO is not supported [ WARN] [1558522875.275119904]: sh: 1: v4l2-ctl: not found

================================================================================REQUIRED process [listener-1] has died! process has finished cleanly log file: /home/leibing/.ros/log/d452dd4e-7c7c-11e9-9a9e-b8763fa5fafd/listener-1*.log Initiating shutdown!

[usb_cam-3] killing on exit [publish-2] killing on exit

[listener-1] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done

在 start.launch 文件中将 listener 节点设置为了必要节点,当检测不到 USB 串口设备时,将会 kill 所有的启动节点,你插入合适的串口设备或者是更改该节点的属性即可。