Skip to content

PWr-Aerospace/ground-control-station

Repository files navigation

Ground Control Station

🧪 Tests 🖋 Check linting 🔨 Build 📦 Package 👔 Check formatting

CanSat Ground Control Station.

Gathers telemetry from the CanSat probe and displays the data to the UI. In addition send commands and transfers specified data to the probe.

Telemetry demo

Map demo

Second map demo

Commands demo

Temperature demo

Logs demo

Development

In order to locally run development versions and build your own follow these steps to setup your local environment:

  1. Install rust following instructions on the official web page: https://www.rust-lang.org/tools/install

  2. Install node and npm, node has to be at least version 16, preferably 20

  3. Install the tauri project management plugin for cargo (this will take a while):

    cargo install tauri-cli
  4. Install the local JS server vite using npm:

    npm install vite
  5. Install node dependencies required by the project:

    npm install
  6. If you are on Ubuntu install these packages using apt:

    sudo apt-get update ; sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf libudev-dev
  7. Now you should be able to build the application. Navigate to the root of the cloned repository and run:

    For a development build:

    cargo tauri dev

    For release build (that will create an installer for your operating system):

    cargo tauri build
  8. If your build failed saying that tsc is not a known command you have to explicitly install typescript by running:

    npm install -g typescript

Credits

This package was created with Cookiecutter, and the John15321/cookiecutter-krabby-patty project template.

Cookiecutter: https://github.com/audreyr/cookiecutter

John15321/cookiecutter-krabby-patty: https://github.com/John15321/cookiecutter-krabby-patty