Skip to content

DesktopApplication

Johannes Ernstsen edited this page Mar 17, 2021 · 1 revision

Desktop Application

The desktop application is used in interfacing with the vehicle. It is written using Python 3.7.

It must be able to connect to the vehicle using web-sockets. This is easily achieved when on the same network, otherwise both this device and the vehicle must have their used sockets exposed.

Security The application is developed under the assumption that vehicle and controlling device is on the same private network, thus no security measure to prohibit adversaries from gaining control, has been implemented.

The desktop application consists of three packages/modules each handling a part of the application's responsibilities

Configuration

The application is launched in the application.py file. The main configuration of the application is the configuration of the GUI object. As of version 1 a user needs to modify this file to properly configure the application.

The GUI needs a VehicleController configured to target the vehicle to control, and a VideoViewer to display the stream.

Details about their configuration can be found on the modules' respective wiki-pages.