longjie / ps4eye

Apache License 2.0
76 stars 38 forks source link

Ps4eye under Jade #22

Closed edmodi closed 8 years ago

edmodi commented 8 years ago

Hi, I followed all step to configure the Ps4Eye and I do it but I don't see any image. With cheese I can't see anything too. My kern.log not show error:

May 23 14:38:10 PC kernel: [ 5976.170471] uvcvideo: Selecting alternate setting 1 (49152 B/frame bandwidth).
May 23 14:38:10 PC kernel: [ 5976.174636] xhci_hcd 0000:00:14.0: swiotlb buffer is full (sz: 1474560 bytes)
May 23 14:38:10 PC kernel: [ 5976.174925] uvcvideo: Allocated 5 URB buffers of 15x49152 bytes each.
May 23 14:38:10 PC kernel: [ 5976.592337] usb 2-5: USB disconnect, device number 19
May 23 14:38:10 PC kernel: [ 5976.832305] usb 2-5: new SuperSpeed USB device number 20 using xhci_hcd
May 23 14:38:10 PC kernel: [ 5976.848927] usb 2-5: New USB device found, idVendor=05a9, idProduct=058a
May 23 14:38:10 PC kernel: [ 5976.848931] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
May 23 14:38:10 PC kernel: [ 5976.848932] usb 2-5: Product: USB Camera-OV580
May 23 14:38:10 PC kernel: [ 5976.848934] usb 2-5: Manufacturer: Omnivision Technologies, Inc.
May 23 14:38:10 PC kernel: [ 5976.857991] uvcvideo: Found UVC 1.00 device USB Camera-OV580 (05a9:058a)

And the roslaunch log:

roslaunch ps4eye stereo.launch DEVICE:=/dev/video0 viewer:=true
... logging to /home/agrobot/.ros/log/b3301876-20d5-11e6-92b1-5065f3215636/roslaunch-PC-17577.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://127.0.0.1:51449/

SUMMARY

PARAMETERS

/camera_info_publisher/left_file_name: /home/agrobot/agr...
/camera_info_publisher/right_file_name: /home/agrobot/agr...
/gscam_driver/camera_info_url: file:///home/agro...
/gscam_driver/camera_name: default
/gscam_driver/frame_id: /ps4eye_frame
/gscam_driver/gscam_config: v4l2src device=/d...
/gscam_driver/sync_sink: True
/rosdistro: jade
/rosversion: 1.11.16
/split_left/camera_info_url: file:///home/agro...
/split_left/camera_name: left
/split_left/height: 400
/split_left/queue_size: 10
/split_left/width: 640
/split_left/x_offset: 688
/split_left/y_offset: 0
/split_right/camera_info_url: file:///home/agro...
/split_right/camera_name: right
/split_right/height: 400
/split_right/queue_size: 10
/split_right/width: 640
/split_right/x_offset: 48
/split_right/y_offset: 0
NODES
/stereo/left/
debayer (nodelet/nodelet)
rectify_color (nodelet/nodelet)
rectify_mono (nodelet/nodelet)
/stereo/
disparity (nodelet/nodelet)
point_cloud2 (nodelet/nodelet)
/stereo/right/
debayer (nodelet/nodelet)
rectify_color (nodelet/nodelet)
rectify_mono (nodelet/nodelet)
/
camera_info_publisher (ps4eye/camera_info_publisher.py)
camera_transform (tf/static_transform_publisher)
gscam_driver (nodelet/nodelet)
manager (nodelet/nodelet)
split_left (nodelet/nodelet)
split_right (nodelet/nodelet)
stereo_view (image_view/stereo_view)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[manager-1]: started with pid [17595]
process[gscam_driver-2]: started with pid [17596]
process[split_right-3]: started with pid [17597]
[ INFO] [1464007089.653148331]: Loading nodelet /gscam_driver of type gscam/GSCamNodelet to manager manager with the following remappings:
process[split_left-4]: started with pid [17598]
[ INFO] [1464007089.657625143]: waitForService: Service [/manager/load_nodelet] has not been advertised, waiting...
process[camera_transform-5]: started with pid [17616]
process[camera_info_publisher-6]: started with pid [17620]
process[stereo/left/debayer-7]: started with pid [17631]
process[stereo/left/rectify_mono-8]: started with pid [17635]
process[stereo/left/rectify_color-9]: started with pid [17644]
process[stereo/right/debayer-10]: started with pid [17647]
process[stereo/right/rectify_mono-11]: started with pid [17652]
process[stereo/right/rectify_color-12]: started with pid [17663]
process[stereo/disparity-13]: started with pid [17672]
[ INFO] [1464007089.716695696]: Initializing nodelet with 4 worker threads.
process[stereo/point_cloud2-14]: started with pid [17685]
process[stereo_view-15]: started with pid [17689]
[ INFO] [1464007089.737799016]: waitForService: Service [/manager/load_nodelet] is now available.
[ INFO] [1464007089.818606987]: Using gstreamer config from rosparam: "v4l2src device=/dev/video0 ! video/x-raw-yuv,framerate=60/1,width=1748,height=408 ! ffmpegcolorspace"
[ INFO] [1464007089.825695921]: camera calibration URL: file:///home/agrobot/agrobotRos/src/ps4eye-master/camera_info/default.yaml
[ INFO] [1464007089.826977868]: Loaded camera calibration from file:///home/agrobot/agrobotRos/src/ps4eye-master/camera_info/default.yaml
[ INFO] [1464007089.892090471]: Time offset: 1464001111,487
/home/agrobot/agrobotRos/src/ps4eye-master/script/camera_info_publisher.py:36: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
self.left_pub = rospy.Publisher(left_topic,CameraInfo)
/home/agrobot/agrobotRos/src/ps4eye-master/script/camera_info_publisher.py:37: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
self.right_pub = rospy.Publisher(right_topic,CameraInfo)
[ INFO] [1464007090.225277006]: Publishing stream...
[ INFO] [1464007090.225457025]: Started stream

Thanks in advanced