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 run in a desktop application.
This is the tutorial that I used to set up this app.
npm version 6.11.3or highernode version v12.10.0or highergit version 2.23.0this is for husky, and lower versions may be acceptable. If 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-clientwithcd dt-client - Install node
- OSX:
- run
brew updatefollowed by brew install node
- run
- Linux:
sudo apt updatefollowed bysudo apt install nodejsand finally,- verify your version is up to date with
nodejs --version
- Install npm
- OSX:
npmshould 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