- Create Python virtual environment
$ python -m venv .venv
- Activate virtual environment
$ source .venv/bin/activate
- Install Python dependencies
$ pip install -r requirements.txt
InfluxDB settings are retrieved from system environment variables. It may be convenient to create a '.env' file with the following keys:
INFLUX_TOKEN=
INFLUX_URL=
INFLUX_ORG=
INFLUX_BUCKET=
Data is stored in the 'sitl' measurement.
Hosts a Mosquitto MQTT broker configured to serve websocket clients.
Running:
$ cd docker
$ sudo docker compose up -d
$ cd ../../
Publishes a telemetry replay of data recorded during a static fire test of Valkyrie.
Running:
$ python sitl.pyPrints all MQTT messages from any topic to the terminal.
Running:
$ python mqtt_echo.py