Giter Club home page Giter Club logo

oculus's Introduction

ROS node for Oculus Rift

This is ROS driver for Oculus Rift. see http://developer.oculusvr.com for Oculus Rift SDK.

Install

Please copy OculusSDK/LibOVR to oculus_driver/ directory and build it in Debug mode. (If you are using OSX, please enable rtti and exceptions.) If you want to use Release mode, please edit CMakeLists.txt of oculus_driver/.

Supported OS

This package supports OSX (10.7.5 and MacPorts) and Linux (Ubuntu12.04).

Packages

  • oculus_driver: oculus rift HMD ROS driver.
  • oculus_msgs: oculus HMD message definitions.
  • oculus_viewer: viewer for stereo cameras.

Nodes

oculus_node (in oculus_driver package)

publishes sensor data and HMD information of Oculus Rift.

publish

  • /oculus/orientation (geometry_msgs/Quaternion) orientation of sensor.
  • /oculus/hmd_info (oculus_ros/HMDInfo) HMD device info.
  • /tf

param

  • ~frequency (double: default 10.0) [Hz] rate of publish
  • ~parent_frame (string: default parent) tf frame name of parent
  • ~oculus_frame (string: default oculus) tf frame name of oculus

image_distort_viewer (in oculus_viewer package)

Distort images by /oculus/hmd_info params and display it. You have to adjust some params for your stereo camera manually. A sample launch file is in oculus_viewer/launch/oculus_sample.launch.

Subscribe

  • /camera/left/image_raw (sensor_msgs/Image)
  • /camera/right/image_raw (sensor_msgs/Image)
  • /oculus/hmd_info (oculus_ros/HMDInfo) HMD device info.

Publish

  • /camera/left/image_raw/distorted (sensor_msgs/Image) left distorted image
  • /camera/right/image_raw/distorted (sensor_msgs/Image) right distorted image

param

  • ~image_transport (string: default "raw") this node uses image_transport for subscribe. If you are transporting remote images, you should use "compressed".
  • ~use_display (bool: default true) true: show distored and combined image in GUI. false: publish distored image only.

License

BSD

oculus's People

Contributors

eokeeffe avatar muhrix avatar otl avatar

Watchers

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