Skip to content

cryptosat/bounce

Repository files navigation

Bounce

snapcraft

Building and Testing

  • Install Rust
  • cargo build
  • cargo test

Building Snap Package

Only tested on Ubuntu 20.04.

It will produce file .snap, which you can use to install this project on supported Ubuntu systems.

Binaries

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.

space-station

$> ./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]

ground-station

$> ./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]