Skip to main content

mavio-params

Offline autopilot parameter metadata for mavio — the generated ArduPilot param descriptions, units, value labels and bitmasks that mavio hydrates param reads against.

Split out of mavio so the base install stays lean. Install it as the params extra rather than directly:

uv add "mavio[params]"       # or: pip install "mavio[params]"

Without it, mavio still runs; param reads just come back with empty metadata.

What's in it

Metadata is per firmware, not global. ArduPilot publishes one definition set per vehicle and they genuinely disagree — BATT_FS_LOW_ACT=1 is "Land" on Copter and "RTL" on Rover — so a single shared dict would misdescribe most vehicles.

This package ships a shared core plus a per-vehicle delta for copter, plane, rover, sub, tracker and blimp. A param goes in core only when more than one firmware defines it and they all agree exactly, which dedupes ~29k raw entries to ~7.5k. Each vehicle's module is imported lazily on first use.

mavio picks the set from the peer's HEARTBEAT; param_definitions pins it explicitly. An unknown peer gets empty metadata rather than a guess.

from mavio_params import definitions

defs = definitions('ardupilot.copter')
defs['BATT_FS_LOW_ACT']['values'][1]      # 'Land'

Regenerating

Both steps are offline tools shipped with mavio, so the runtime never needs the network:

mavgen fetch-definitions ./definitions       # every ArduPilot vehicle
mavgen generate-definitions ./definitions    # -> mavio_params/ardupilot/

See the dialects guide for detail.

License

MIT — see LICENSE.

Download files

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

Source Distribution

mavio_params-0.9.1.tar.gz (377.0 kB view details)

Uploaded Source

Built Distribution

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

mavio_params-0.9.1-py3-none-any.whl (377.3 kB view details)

Uploaded Python 3

File details

Details for the file mavio_params-0.9.1.tar.gz.

File metadata

  • Download URL: mavio_params-0.9.1.tar.gz
  • Upload date:
  • Size: 377.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mavio_params-0.9.1.tar.gz
Algorithm Hash digest
SHA256 0748bb195d737231edd66d6eb0be02d85d91898c4080b541554a3df8639d415e
MD5 13d219bebecd4054e505cb43d5d5c16e
BLAKE2b-256 5c4d23f74cd2431fbdeccf4f988b4038ea422fa46956d9415657b77e4fe7e8a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for mavio_params-0.9.1.tar.gz:

Publisher: publish.yml on jaggedmountain/mavio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mavio_params-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: mavio_params-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 377.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mavio_params-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d650ef0db1bea56c291c62291e1e681b97f729ffe54f24c8c01caadbec81d5ce
MD5 538909df171707c63198b78df0dd5b0e
BLAKE2b-256 710ce2caa89827aa78990186c5e334d6c7cea12b439b376938beef9d4d00b4b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mavio_params-0.9.1-py3-none-any.whl:

Publisher: publish.yml on jaggedmountain/mavio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.9.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page