Skip to content

Commit

Permalink
Merge branch 'tooling-update'
Browse files Browse the repository at this point in the history
  • Loading branch information
John Jones committed Oct 12, 2021
2 parents f3086e8 + b0e6cc3 commit 85cd511
Show file tree
Hide file tree
Showing 60 changed files with 1,196 additions and 558 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Install Go Dependencies, Test, and Build
run: |
cd dashboard
cd ground/dashboard
make install
make build
cd ../tool
make install
make test
make build
- name: Publish Artifacts
uses: softprops/action-gh-release@v1
Expand All @@ -30,4 +32,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
./dashboard/build/*
./ground/dashboard/build/*
./ground/tool/build/*
33 changes: 31 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,47 @@ The ground Arduino software receives transmitted packets and echos them out to s

### Dashboard

The dashboard is a text-based tool for tracking and logging received telemetry. To activate it, download a release from the GitHub project or build the dashboard using the following steps:
The dashboard is a text-based tool for tracking and logging received telemetry. To use it, download a release from the GitHub project or build the dashboard using the following steps:

```bash
$ cd ~
$ git clone [email protected]:johnjones4/white-vest.git
$ cd white-vest/dashboard
$ cd white-vest/ground/dashboard
$ make install
$ make build
```

Then, run the dashboard using the following `build/dashboard-Darwin-i386 --input /dev/cu.usbmodem143101 --output text`. Note that `dashboard-Darwin-i386` will change based on the system you are using and `/dev/cu.usbmodem143101` is the path to the Arduino serial connection. To view the web dashboard, pass in `web` for the `--output` option and open [http://localhost:8080/](http://localhost:8080/).

### Tool

The tool is a utility for after-flight work. To use it, download a release from the GitHub project or build the dashboard using the following steps:

```bash
$ cd ~
$ git clone [email protected]:johnjones4/white-vest.git
$ cd white-vest/ground/tool
$ make install
$ make build
```

The overall command structure is:

```bash
$ white-vest-tool [TASK] [FLAGS]
```

Taks/Flags:
* `convert`: Converts telemtry data to plain old JSON for analysis
* `--input`: The file path to the input file
* `--output`: The file path to output to
* `--type`: The "type" of data. Right now the only valid option, and the default value, is `inboard`. This is the CSV file generated on the telemetry module during flight. I recommend reviewing the data and clipping the pre-launch and post-landing useless data for faster conversion.
* `--progress`: `true` or `false`, print a progress bar during conversion
* `summary`: Analyze the data and print a few summary data points like apogee, max v, etc
* `--input`: The file path to the input file (use the file made during `convert`)
* `chart`: Generate altitude and velocity charts
* `--input`: The file path to the input file (use the file made during `convert`)
* `--ouput`: The directory to save the charts to
### Air

This software requires [I2C](https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c), [SPI0](https://www.raspberrypi-spy.co.uk/2014/08/enabling-the-spi-interface-on-the-raspberry-pi/), and [Serial](https://maker.pro/raspberry-pi/tutorial/how-to-use-a-gps-receiver-with-raspberry-pi-4) to be enabled on a Raspberry Pi.
Expand Down
Loading

0 comments on commit 85cd511

Please sign in to comment.