Skip to content

SightPlusPlus/SightPlusPlus-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

SightPlusPlus Client

Introduction

A NodeJS Client adds messages into the Firebase Realtime Database from where the messages will be used by the SightPlusPlus Mobile Application. The system converts the public ip address into (remote) or converts the coordinates (static) into an id usable by the Firebase. It adds at that certain id the message, priority and name of the object so that the mobile app can use them.

Prerequisites

  • Install the SightPlusPlus Server. Follow the instructions from there

  • A Realsense Camera from Intel, required to use the system at its full potential, but you can use the system with pre-recorded videos

  • Install Node.js

Download the installation package from the official website of Node.js. Choose the LTS version. I am using NodeJS version 11.0, but any of them will work.

  • (For Windows) Add the installation directory into the environment variables of your OS.

Run it

  • Install the dependencies

After you download the project package and extract it, open CMD in the 'client' folder. Run these commands below:

npm install
  • Run the Intel_IXN_SightPP Server

Please run the Intel_IXN_SightPP Server before running the web application following the instructions this page provides: SightPlusPlus Server

  • Navigate to the client/src/ folder

  • If you need to use the remote functions of the system, run in the terminal:

node start_remote.js

ALL 3 SYSTEMS (APP, SERVER, CLIENT) NEED TO BE ON THE SAME NETWORK TO WORK.

  • If you want to use the remote functionalities, run in the terminal (make sure you change the latitude and longitude with the desired coordinates):
node start_static.js <latitude, longitude>

The system will convert the coordinates into an id so the app will be able to calculate the closes plate to run the static system.

NOTE: The client and the app are both using Firebase. The credentials should be changed.

Related APIs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •