Project Horus - Browser-Based HAB Chase Map
 
 
 
 
 
Go to file
Mark Jessop cc89d73644 Add GFS subdirectory. 2018-07-28 12:07:11 +09:30
chasemapper Add telemetry source profiles, which can be selected from within the web client. 2018-07-27 21:47:17 +09:30
doc Update readme and screenshot 2018-07-27 22:03:55 +09:30
gfs Add GFS subdirectory. 2018-07-28 12:07:11 +09:30
static Add log messages to sidebar. 2018-07-27 22:32:20 +09:30
templates Add log messages to sidebar. 2018-07-27 22:32:20 +09:30
LICENSE Initial commit 2018-07-11 20:54:58 +09:30
README.md Readme update. 2018-07-27 22:05:18 +09:30
horusmapper.cfg.example Add telemetry source profiles, which can be selected from within the web client. 2018-07-27 21:47:17 +09:30
horusmapper.py Add log messages to sidebar. 2018-07-27 22:32:20 +09:30

README.md

Project Horus - Browser-Based HAB Chase Map

Note: This is a work-in-progress. Features may be incomplete or non-functional!

This folder contains code to display payload (and chase car!) position data in a web browser:

ChaseMapper Screenshot

For this to run, you will need the horuslib library installed. Refer to the Installation guide.

You also need flask, and flask-socketio, which can be installed using pip:

$ sudo pip install flask flask-socketio

You can then clone this repository with:

$ git clone https://github.com/projecthorus/chasemapper.git

Configuration & Startup

Many settings are defined in the horusmapper.cfg configuration file. Create a copy of the example config file using

$ cp horusmapper.cfg.example horusmapper.cfg

Edit this file with your preferred text editor. The configuration file is fairly descriptive - you will need to set:

  • At least one telemetry 'profile', which defines where payload and (optionally) car position telemetry data is sourced from.
  • A default latitude and longitude for the map to centre on.

You can then start-up the horusmapper server with:

$ python horusmapper.py

The server can be stopped with CTRL+C. Somes the server doesn't stop cleanly and may the process may need to be killed. (Sorry!)

Live Predictions

We can also run live predictions of the flight path.

To do this you need cusf_predictor_wrapper and it's dependencies installed. Refer to the documentation on how to install this.

Once compiled and installed, you will need to:

  • Copy the 'pred' binary into this directory. If using the Windows build, this will be pred.exe; under Linux/OSX, just pred.
  • Copy the 'get_wind_data.py' script from cusf_predictor_wrapper/apps into this directory.

You will then need to modify the horusmapper.cfg Predictor section setting as necessary to reflect the predictory binary location, the appropriate model_download command, and set [predictor] predictor_enabled = True

You can then click 'Download Model' in the web interface's setting tab to trigger a download of the latest GFS model data. Predictions will start automatically once a valid model is available.

Contacts

You can often find me in the #highaltitude IRC Channel on Freenode.