Difference between revisions of "ARCHR (voodoo-style controller)"

From Lofaro Lab Wiki
Jump to: navigation, search
Line 17: Line 17:
 
;Stereovision
 
;Stereovision
 
:Navigate to the Stereovision and change the file paths of the startReceive and startStream.sh files.
 
:Navigate to the Stereovision and change the file paths of the startReceive and startStream.sh files.
*:To setup the streaming webcams see [[here]]
+
*:To setup the streaming webcams see [[http://wiki.lofarolabs.com/index.php/Streaming_webcams_to_Oculus_Rift_with_openCV here]]

Revision as of 03:13, 2 December 2014

Downloading the code from github

Obtain the code from the Lofarolabs Baxter Github branch named ARCHR
By running the command git clone https://github.com/LofaroLabs/Baxter/tree/master/ARCHR from terminal in a desired location.

Fixing the file paths of the bash scripts

Controller
Navigate to the downloaded ARCHR folder, and open the startController bash script. Change the file path so it is correct.
For example: if your ubuntu username is "student" and the files are located under downloads, change the code on line 9 from:
 /home/archr/projects/Baxter/ARCHR/archr_team.jpg
to
 /home/student/Downloads/Baxter/ARCHR/archr_team.jpg
Change the path in line 11 too. For line 16, change only the username to student (/home/student/ros_ws)
Repeat this process for the controllerL, controllerR, gripperR and serverArms.sh bash files as well.
Stereovision
Navigate to the Stereovision and change the file paths of the startReceive and startStream.sh files.
  • To setup the streaming webcams see [here]