Giter VIP home page Giter VIP logo

ps4_stereo_camera's Introduction

ps4_stereo_camera

PS4 stereo camera driver using the V4L2 API. Unlike the ps4eye package which is using gstreamer/gscam, it is using the V4L2 API directly and has lower CPU consumption.

Credits

Code in this package is based partly on two other projects:

WARNING

  • 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.

Requirements

  • You need a ps4eye camera PlayStation Camera CUH-ZEY1J

  • You need to hack the cable. See PS4eye.

  • You may need newer linux kernel. Starting from Kernel version 3.17.3 things seem to work.

    If you are using ubuntu, you might want to check this page for updating your kernel.

  • You'll need Pyusb 1.0 or the script executed in the udev rules will silently fail.

sudo apt-get install python-pip
sudo pip install --pre pyusb

Usage

  1. Run create_udev_rules. Enter sudo password to place /etc/udev/rules.d/91-ps4eye.rules. You need this step only once.
$ rosrun ps4_stereo_camera create_udev_rules
  1. Plug your ps4eye into a free 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.

$ roslaunch ps4_stereo_camera ps4_stereo_camera_default.launch

ps4_stereo_camera's People

Contributors

skohlbr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.