Ground station software for the Sting FC, includes both command line tools and GUI.
To run for debugging purposes (--release
recommended for simulations):
$ cargo run [--release]
(Assuming rust/rustup is already installed)
$ cargo install --path gui
$ rustup target add wasm32-unknown-unknown
$ cargo install trunk --locked
$ cargo trunk build [--release] # to build application to /gui/dist/
$ cargo trunk serve [--release] # to build, serve and open in browser
This will store the compiled application in gui/pkg/
.
To run the GUI, run the compiled binary without any arguments.
USAGE:
sam [SUBCOMMAND]
OPTIONS:
-h, --help Print help information
-V, --version Print version information
SUBCOMMANDS:
bootloader Reboot the FC into bootloader
gui Launch the main gui [default]
help Print this message or the help of the given subcommand(s)
logcat Attach to FC and tail logs
reboot Reboot the FC