Giter VIP home page Giter VIP logo

baxter-vr's Introduction

Baxter-VR

Controlling the Baxter robot using Virtual reality device (HTC VIVE). It requires two computers: Windows 10 (Client) and Ubuntu 14.04 (Server). Client computer connects to VR hardware and extracts complete VIVE controller status and sends this data to the Server. The server computer receives the controller information, transforms into Baxter coordinate system, estimates inverse kinematics solutions of Baxter and sends joint increments to Baxter core.

VIVE controller information

triad_openvr is an open source software built on top of the openvr library. It provides a list of basic functions to access controller information, touch pad coordinates, trigger status, etc. https://github.com/TriadSemi/triad_openvr.git.
In my project, I used triad_openvr library to extract VIVE controller information (Code is present in 'Client_VR' directory)

Windows Computer

  1. Check for the computer hardware requrirements here
  2. Install Steam VR and Epics Launcher - Unreal Engine.
  3. Install the headset and controllers properly.
  4. Download the 'Client_VR' folder present in this repository.
  5. Run the 'controller_test.py'. If it runs without errors, then VIVE hardware is successfully installed.
  6. Open 'main.py', change the 'TCP_IP' variable to the IP address of your Ubuntu computer.
  7. Run 'main.py'

Ubuntu Computer

  1. Ubuntu 14.04 is recommended.
  2. Install ROS Indigo and Baxter Workstation Setup
  3. Download the 'Server_Baxter' folder present in this repository. Copy this folder into catkin_ws/src/.
  4. Open 'main.py', and change the 'TCP_IP' variable to the IP address of Ubuntu computer.
  5. Run 'main.py'

Note: These instructions does not include live streaming the first view of Baxter on to the VIVE headset. In order to do this, you need to mount a camera on Baxter's head, connect it to Windows computer. Use the Unreal engine (installed in the Windows computer) to live stream webcam in the VIVE headset.

Video

https://youtu.be/GOF_M8wtWZE
https://youtu.be/dS_DJDMJGNU

baxter-vr's People

Contributors

nmadapan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hankfirst

baxter-vr's Issues

OpenVr

Hi,
I have an error occuring with the Windows side saying "no module named openvr".

Are we supposed to clone the OpenVR SDK insidethe Client VR or is there any other way to do it?

Thanks already,

Kris

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.