- Install Rust
cargo build
cargo test
Only tested on Ubuntu 20.04.
- Install Snapcraft
snapcraft
It will produce file .snap
, which you can use to install this project on supported Ubuntu systems.
There are two binaries, space-station
and ground-station
. Simply open two terminals and run each binary in each terminal.
Currently, the ground-station
binary will send a request to space-station and
upon receiving the resposne, it will terminate.
space-station
binary runs indefinitely, so force terminate by using Ctrl-C, and
look at the log folder for logs.
$> ./target/debug/space-station -h
A flock of Bounce cubesat units 0.1.0
Taegyun Kim <k.taegyun@gmail.com>
USAGE:
space-station [OPTIONS] [log-to-stdout]
FLAGS:
-h, --help Prints help information
--log-to-stdout By default logs are saved to files, if set log only to stdout.
-V, --version Prints version information
OPTIONS:
-a <ADDRESS> Specify an alternate address to use. [default: 0.0.0.0]
-l, --log-dir <LOG_DIR> Specify a directory to save logs [default: log]
-p <PORT> Specify an alternate port to use. [default: 50051]
$> ./target/debug/ground-station -h
Bounce ground station 0.1.0
Taegyun Kim <k.taegyun@gmail.com>
USAGE:
ground-station [OPTIONS] [log-to-stdout]
FLAGS:
-h, --help Prints help information
--log-to-stdout By default logs are saved to files, if set log only to stdout.
-V, --version Prints version information
OPTIONS:
-a <ADDRESS> Specify an alternate address to connect to. [default: 0.0.0.0]
-l, --log-dir <LOG_DIR> Specify a directory to save logs [default: log]
-p <PORT> Specify an alternate port to connect to. [default: 50051]