Skip to main content
Version: 3.3.0

Web Frontend


Overview

Web Frontend is a web viewer that allows the user to remotely interact with SENSR. With Web Frontend, users can remotely check the status of SENSR-I and change some parameters if needed. Please note that not all the features of SENSR are available in Web Frontend

The functions offered by the Web Front-end are limited compared to SENSR's native interface, the table below summarises the main differences:

ModeFeatureNative SENSRWeb FE
GeneralActivate/deactivate Z ClipYN
Lock SENSR screenYN
Project SetupImport Algo NodeYN
Receive latency informationYN
Landmark CalibrationYN
Ground Level ProfilingYN
Auto-Fine TuningYN
Remote InstallationYN
Play/Pause Data StreamYN
Change time synchronization parametersYN
License Expiration AlertYN
Load and calibrate background mapYN
Export parameter change reportYN
RuntimeRecord rosbagYN
Full ScreenNY
Advanced features settings (Except Retro-reflective tracking)YN
Zone SetupFilter zones list by typeYY

Installation

The Web Frontend is automatically deployed as a docker image while installing SENSR. Its presence on the machine can be checked using the command docker images. If the web frontend is deployed, an image such as the following should be shown:

sensr_frontend  3.3.0-beta.1  8c80ed91678a  13 days ago 134MB

Running the web Frontend

Pre-requisite

info

To properly run the Web FE on a machine with a graphics drivers(GPU), you should enable graphics acceleration options in the Chrome browser

How to enable graphics acceleration option

  1. Type "chrome://settings/system" in Chrome browser.
  2. Enable the "Use graphics acceleration when available" option. Use graphics acceleration when available
  3. Relaunch the Chrome browser

Default

To run the web Frontend, either:

  • In the SR Launcher CLI, run the following command: sr-launcher-cli run web-fe-server
  • In the SR Launcher GUI, int he bottom right corner, click on the button Run Web FE server

The web frontend will be published on the ip address specified for the cluster and publish on port 5000.

Custom ip and ports

In some instances, the user may want to publish the web frontend on a specific ip-port combination. In that case the following command should be used with the SR Launcher CLI version: sr-launcher-cli run web-fe-server -p <Port_to_use> -s <IP_to_use>

If a given flag is left empty, the value used will be the default one: port : 5000, ip: cluster ip.

Using the web Frontend

To use the webfrontend, in Google Chrome:

  • Enter http://<ip_to_use>:<port>,
  • This will open the web Frontend.

Stop the web Frontend

To stop publishing the web Frontend, either:

  • In SR Launcher CLI, run the command sr-launcher-cli stop web-fe-driver
  • In SR Launcher GUI, click on the Stop web-fe server button in the bottom right

Connect to use SSL

Overview

SSL plays an important role in securely transmitting and protecting sensitive data used for communication between clients and servers. SENSR provides SSL security features for secure communication between clients and servers. This ensures the safety and security of data transmitted between SENSR and its web frontend.

Setup

  1. Enable SSL mode

    1) Move /opt/seoulrobotics/app_config folder

    cd /opt/seoulrobotics/app_config

    2) Change "enable_ssl" value to true in app_settings.toml

    app_settings.toml file

  1. Create Certificates

    1) Move /opt/seoulrobotics/utils folder

    cd /opt/seoulrobotics/app_config

    2) Create certificate files using generate_certificate.sh script

    ./generate_certificate.sh {IP address}

    Enter the IP address to open the web frontend.

Run the web Frontend

  1. Manually open the web frontend through the terminal.

    docker container run --rm -v /opt/seoulrobotics/keys/sensr-ca.key:/workspace/certs/ca.key -v /opt/seoulrobotics/keys/sensr-ca.crt:/workspace/certs/ca.crt -e ENABLE_SSL=1 -p 5000:8080 sensr_frontend:{SESNR verison}
  2. Access the web frontend using a browser. 1) Open browser and enter https://IP address:5000

    example
    https://192.168.1.30:5000

    2) The browser will warn you if you want to connect. Click Advanced to proceed with access.

    browser warningbrowser warning

    3) The web frontend screen is output normally.

Stop the Web Frontend

  1. Find the name of the Docker container for the web frontend.

    docker ps

    docker container ps

  1. Stop the web frontend docker container.

    docker stop {the web frontend docker name}

    docker container stop

Logo
If you need access, please contact