Giter Club home page Giter Club logo

vive_tracking_ros's Introduction

vive_tracking_ros

pyOpenVR based vive controller tracking for teleoperation.

For now, only the twist and input feedback is published to ROS.

In the future, I may add the pose.

Inspired by robosavvy/vive_ros and triad_openvr

This was tested on ROS Noetic / Ubuntu 20.04

Getting started

After installing dependencies and this package

  1. Configure your system on the vive_tracking_ros/config/vive_config.yaml to easily identify each controller

  2. Start the VR server

    roslaunch vive_tracking_ros server_vr.launch
    
  3. To close the node you can Ctrl+C. To close the vr server you have to kill the process.

    rosrun vive_tracking_ros close_server.sh
    
  4. To start tracking the controllers run (added part from original package):

    roslaunch vive_tracking_ros tracking_controller.launch
    

Installation instructions

Download and build Valve's OpenVR SDK (most recently tested version):

cd ~
mkdir libraries
cd libraries
git clone https://github.com/ValveSoftware/openvr.git -b v1.3.22
cd openvr
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make

Allow hardware access

Then plug-in VIVE to your computer and make sure you can see the devices on /dev/hidraw[1-6].

Copy the file 60-HTC-Vive-perms.rules to the folder /etc/udev/rules.d. Then run:

  sudo udevadm control --reload-rules && sudo udevadm trigger

Install Steam and SteamVR

Install Steam:

  sudo apt install steam

Run Steam:

  steam

Setup or log in into your Steam account and install SteamVR app from Steam store.

Steam files should be located in: ~/.steam/steam

SteamVR files should be located in: ~/.steam/steam/steamapps/common/SteamVR

To work without the Headset HMD

See here for instructions

vive_tracking_ros's People

Contributors

cambel avatar tatsukamijo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

diamond2nv

vive_tracking_ros's Issues

How to set my vive_config.yaml?

Now that I can run steamvr, how do I configure vive_config.yaml to run this ros package? Can you tell me how to check the serial number of my vive device? Looking forward to your answer

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.