Skip to main content

serve an aircraft instruments panel as a web page

Project description

Lidia

lidia

Lightweight Instrument Display Interface for Aircraft

lidia is a Python package for serving an aircraft instruments panel as a web page.

screenshot of top part of primary flight display page

Installation

Use the package manager pip to install lidia.

pip install lidia

Argument completion

Lidia uses argcomplete to provide shell completions for bash and zsh, which can be enabled like this:

pip install argcomplete
activate-global-python-argcomplete

Usage

lidia demo

# if your Scripts folder isn't in Path:
python3 -m lidia demo

# use other source
lidia rpctask

# show general help
lidia --help

# show help for a specific source
lidia demo --help

# pass the main server arguments before the source name
lidia -P 5556 demo

Then open the served page in a browser, by default localhost:5555. The controls for showing and hiding elements of the GUI are shown when hovering the mouse in the bottom left region of the page.

Support

Report problems in Codeberg Issues

Roadmap

  • Set target state for marsh source using ATTITUDE_TARGET and POSITION_TARGET_GLOBAL_INT
  • Additional PFD indicators: ILS, VOR on HSI
  • CAS (Crew Alerting System) screen

Contributing

  • Contributions should be made to the Codeberg repository
  • Python code should be formatted with autopep8
  • Other source files should be formatted with Prettier
  • Install packages for development with pip install -r requirements.txt
  • To properly run as a module without building and installing, cd into src/ and run python3 -m lidia
  • APIs deprecated in previous versions, waiting to be changed in next major release are marked with @deprecated comment

Acknowledgements

This software was developed in Department of Aerospace Science and Technology of Politecnico di Milano.

Instrument graphics designed by Davide Marchesoli and Qiuyang Xia.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lidia-0.13.0.tar.gz (797.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lidia-0.13.0-py3-none-any.whl (809.3 kB view details)

Uploaded Python 3

File details

Details for the file lidia-0.13.0.tar.gz.

File metadata

  • Download URL: lidia-0.13.0.tar.gz
  • Upload date:
  • Size: 797.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for lidia-0.13.0.tar.gz
Algorithm Hash digest
SHA256 1cff14f2003784515b402f19e04393739dc1792849e3a8ebb3e348f72c789d81
MD5 fb1f8827b2bcaa6b8710283dca577fa6
BLAKE2b-256 3e9f0e2def1e5bdea899da9439b38602bd8d47b34098bbdd67818c8e6219a058

See more details on using hashes here.

File details

Details for the file lidia-0.13.0-py3-none-any.whl.

File metadata

  • Download URL: lidia-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 809.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for lidia-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c153d2838a6f9e075708d0da7b108faa4f23c1930349a07d6a202cebdf9ab30a
MD5 7edb91a5c5ef1db0f403baa835655582
BLAKE2b-256 227108bb6c849e639104623ef6934ca0d91759ae5a63658a2b575bb874824025

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page