INSTALL StreetView - marcgc21/LG_InteractiveSpaces GitHub Wiki

Here you can find information about how to install StreetView (PeruseaRue software).

You can download the code here:

https://code.google.com/p/liquid-galaxy/wiki/Peruse_a_Rue

This information is extracted by their excellent README.md, I really suggest to take a look in order to understand better the software.

Peruse-a-Rue

A Street View implementation for Liquid Galaxy.

Installing Node.js

The Peruse-a-Rue server requires Node.js and npm. Instructions for installing Node.js on all supported platforms can be found on their website:

<http://nodejs.org/>

Installing Peruse-a-Rue

Peruse-a-Rue can be installed from git:

$ git clone https://code.google.com/p/liquid-galaxy.lg-peruse-a-rue/
$ cd liquid-galaxy.lg-peruse-a-rue

Installing Node deps

npm can read the dependency list from package.json in the current directory. While in the Peruse-a-Rue git root:

$ npm install

Usage

The Peruse-a-Rue server can be started with the launcher script:

$ bin/peruse-a-rue

Browser Interface

Chrome and Chromium are the only browser supported by Peruse-a-Rue.

Touchscreen Interface
http://<server:port>/touchscreen/
Panorama Display
http://<server:port>/display/

Arguments to display:

  • yawoffset : The x index of the screen, 1.0 is one screen to the right.

  • pitchoffset : The y index of the screen, 1.0 is up.

  • master : If set to 'true', this is the master instance and other displays will follow its point of view. Typically this is the center display.

  • pano : Load a Street View pano by panoid at startup. Only accepted by the master instance.

Following my configuration explained above, an example to how to run peruse on 3-liquidgalaxy:

http://l0.0.0.50:8086/touchscreen/          # touchscreen
http://l0.0.0.50:8086/display/?master=true  # master
http://10.0.0.50:8086/display/?yawoffset=1  # one screen right
http://10.0.0.50:8086/display/?yawoffset=-1 # one screen left

Possible errors

  1. Maybe you could open the ports that peruse-a-rue are using or you won't be able to look anything. Try to change doing this:

    sudo nano /etc/iptables.conf

And all the following instruction in order to open the TCP port:

  1. Sometimes when we launch our peruse-a-rue you will see black windows on the browser but you could be able to read the correct name of the webpage on the top of the browser. I have no idea what happens but if you open the touchscreen URL and press one point all the browser will start to show streetview

Authomatic launch

On the new web page interface you fill find a configuration page that allows to activate some scripts. One of them allows to launch peruse a rue on master and clients nodes.

If you would like to know more information about this LG_touchscreen you could find here