Skip to content

Gateway

JulesThuillier edited this page Mar 31, 2016 · 1 revision

Here you will find how to access the Gateway code and update it

Hardware Gateway

SSH connection

The connection to the Gateway is done using SSH. You can use putty if you are on Windows, or directly your terminal on Mac or Linux. Connect to "VR Tracker Gateway" (password : "vrtracker")

Here are the SSH credentials :

username : pi

password : vrtracker

IP : 192.168.10.1

command to connect : ssh [email protected]

The Gateway is based on a Raspberry Pi, therefore on a Linux Raspbian OS.

The code is in "VrTracker" folder and already linked to the Git. You can execute it using sudo python VrTracker/Gateway/vrtracker.py

All the code is in python and can be found here in GitHub.

#Software Gateway You can also use your PC as a Gateway, for debugging purposes. You need the following python libraries to make it work :

  • websocket-server
  • numpy
  • openCV

You just have to change the IP in the following file for your computer IP :

vrtracker.py

myserver = websocketserver.websocketserver('192.168.1.113')

Clone this wiki locally