Skip to content

The Captain service for communicating with PX4 and guiding missions.

License

Notifications You must be signed in to change notification settings

animal-locator-drone/captain

Repository files navigation

Captain

Talks to PX4 and provides telemetry and guidance for the mission.

Setup and Running

Prerequisites

  1. Install python 3.6+ for your system preferably latest stable version of python
  2. Get the code
    1. https://github.com/animal-locator-drone/captain.git
  3. cd into the folder
    1. cd captain
  4. Setup a venv and activate it
    1. python -m venv .venv
    2. source .venv/bin/activate
      1. You will need to rerun this in each new terminal unless you automate with VScode
  5. Install dependencies with pip
    1. pip install -r requirements.txt
  6. Edit your config file if necessay config.ini

Running

  1. Activate the venv (see Prerequisites 4.2)
  2. Run the web server
    1. python main.py

Contributing

  1. Read the documentation it has an excellent tutorial for beginners.
    1. https://fastapi.tiangolo.com/tutorial/

About

The Captain service for communicating with PX4 and guiding missions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages