The desktop client's purpose is to interface and visualize telemetry data obtained from the microcontrollers onboard UAVs and UGVs
The desktop client is a React application built with create-react-app. It is wrapped in an electron app that allows the React app to be ran in a desktop application.
This is the tutorial that I used to set up this app.
npm version 6.11.3
or highernode version v12.10.0
or highergit version 2.23.0
this is for husky, and lower versions may be acceptable. Ff your version of git is too old, you'll get an error when runningnpm install
- Clone the repo with
git clone https://github.com/uvic-aero/dt-client.git
- Set your current directory to
dt-client
withcd dt-client
- Install node
- OSX:
- run
brew update
followed by brew install node
- run
- Linux:
sudo apt update
followed bysudo apt install
and finally,- verify your version is up to date with
nodejs --version
- Install npm
- OSX:
npm
should already be installed, so just verify the version withnpm --version
- Linux:
sudo apt install npm
- verify your version is up to date with
npm --version
- Install dependencies for the react-electron application with
npm install
- Start the electron-react desktop app
npm start