Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
longjie Merge pull request #29 from haraduka/fix_cam_info_pub
[] divide callback and publisher between left and right
Latest commit ec11823 Jun 8, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
camera_info migratge repository from longjie-ros-pkg to ps4eye. Dec 28, 2014
launch add calib.launch Apr 1, 2015
script [] divide callback and publisher between left… Jun 5, 2017
91-ps4eye.rules Add udev install script. Mar 30, 2015
CHANGELOG.rst [CHANGELOG.rst] correct log order Mar 30, 2015
CMakeLists.txt Add udev install script. Mar 30, 2015
LICENSE Initial commit Dec 28, 2014
package.xml 0.0.4 Mar 30, 2015

PlayStation4 stereo camera package for ROS



  • This package is experimental and not completed.
  • You need to hack (cut and solder) the PS4 camera's cable. It may damage your device. Do it at your own risk.
  • The PS4 camera is USB 3.0 only and is not compatible with USB 2.0 systems.


  • You need a ps4eye camera PlayStation Camera CUH-ZEY1J

  • You need to hack the cable. See PS4eye.

  • You may need newer linux kernel. Kernel version 3.17.3 is OK. 3.16.0 is NG.

    If you are using ubuntu, please check this page to update kernel

  • You'll need Pyusb 1.0 or the script executed in the udev rules will silently fail. sudo pip install --pre pyusb


  1. Run create_udev_rules. Enter sudo password to place /etc/udev/rules.d/91-ps4eye.rules. You need this step only once.
$ rosrun ps4eye create_udev_rules
  1. Plug your ps4eye to USB 3.0 port.

  2. Check if you can obtain the image from ps4 camera by webcam software (cheese, camorama, etc).

  3. Run stereo.launch. DEVICE option is used specify video device. You can bring up stereo viewer if viewer option is true.

$ roslaunch ps4eye stereo.launch DEVICE:=/dev/video0 viewer:=true
  1. If you want to run the viewer individually, use this command.
$ rosrun image_view stereo_view stereo:=/stereo image:=image_rect_color
  1. Now you can see disparity image from the stereo camera. Done!

About ps4eye folder's contents

ps4eye folder contains files:

  • script/firmware.bin
  • script/

Both files are originally from ps4eye project: Source code and binary are downloadable from there. This package include the two files only for convinience. is from hyaguchijsk's branch: to make it easy to call from ROS system.


Thanks for the incredible ps4 camera hackers.

You can’t perform that action at this time.