Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ps4eye under Jade #23

Open
edmodi opened this issue May 23, 2016 · 4 comments
Open

Ps4eye under Jade #23

edmodi opened this issue May 23, 2016 · 4 comments

Comments

@edmodi
Copy link

edmodi commented May 23, 2016

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

The camera not show any light when the nodes are running

My kernel version is 3.19.0-41-generic with Ros Jade

Thanks in advanced

@longjie
Copy link
Owner

longjie commented May 26, 2016

Hi,

Some people are suffered from not working ps4eye device as UVC camera (as in #19 #20 ps4eye/ps4eye#10) . In #19 I found I needed to downgrade the kernel to 3.17.3 to make it work with my Macbook air. However, @hyaguchijsk reported he could use it with newer kernel (with his machine, ThinkPad).

Unfortunately, this problem seems to be concerning the upstream project or the linux kernel(UVC driver) or hardware compatibility. This ROS package is not related. You can ask your issue at the upstream project, but it is not so active anymore.

If many people cannot make this package work, we may need to make this package resigned from ROS release. How do you think of it ? ( @k-okada , @hyaguchijsk , @yoshimalucky )

@TheeeX
Copy link

TheeeX commented May 26, 2016

HI,
Can I use the same camera parameters for stereo rectification or do I need to recalculte it for my ps4eye with opencv ? (I'm using some other driver for ps4eye, not this package)

@k-okada
Copy link
Collaborator

k-okada commented May 26, 2016

I think we'd better to keep releasing package and collect information on working version

List of working version

List of Kernels

version code name kernel version
14.04 LTS Trusty Tahr 3.13.0
14.10 Utopic Unicorn 3.16.0
15.04 Vivid Vervet 3.19
15.10 Wily Werewolf 4.2
16.04 LTS Xenial Xerus 4.4
16.10 Yakkety Yak 4.4+

@robograffitti
Copy link
Contributor

I wrote a workaround in #20 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants