Skip to content

nmadapan/Baxter-VR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Controlling Baxter robot using Virtual reality device HTC VIVE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published