MAVdataflash
Read, analyze and visualize *.bin flight data logs recorded by ArduPilot
Installation
Installing via PyPI
Install the latest version with:
$ pip install --upgrade mavdataflash
Installing via GitHub
Install with source code,
$ git clone https://github.com/generalaeronautics/MAVdataflash
$ cd MAVdataflash
$ python -m build
$ pip install dist/*.whl
If you get any installation or compilation errors, make sure installed build:
$ pip install build setuptools wheel
Usage
from MAVdataflash import DataFlash
# Create a new instance with DataFlash class
analysis = DataFlash("flight_data.bin")
# Return data in pandas dataframe
analysis.GetData('IMU')
# Return data of specific instance in pandas dataframe
analysis.GetData('IMU', instance=1)
# Return data in polars dataframe
analysis.GetData('IMU', in_polars=True)
# Plot any Parameter and Subparameter VS Time
analysis.Plot('GPS', 'Alt')
# Plot with instance, if parameter data type has more than 1 instance
analysis.Plot('IMU', 'GyrX', instance=1)
# Return the pandas dataframe of EV(Events) data type with Message
analysis.GetEvents()
# Return in polars dataframe
analysis.GetEvents(in_polars=True)
# Return the pandas dataframe of MODE(Modes) data type with Message
analysis.GetModes()
# Return in polars dataframe
analysis.GetModes(in_polars=True)
# Return the pandas dataframe of PARM(Commands) with Values
analysis.GetPARAMS()
# Return Params with Date and Time included in dataframe
analysis.GetPARAMS(with_datetime=True)
# Return Params in dictionary data type
analysis.GetPARAMS(in_dict=True)
# Return in polars dataframe
analysis.GetPARAMS(in_polars=True)
# Return PARM(Command) with Value
analysis.GetPARAM('EK3_IMU_MASK')
# Return the list of Subparameter(Columns) of the Parameter data type
analysis.GetColumns('GPS')
Metadata
Release files for mavdataflash 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mavdataflash-3.0.0.tar.gz | 9.2 kB | Without provenance | Details for mavdataflash-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mavdataflash-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for mavdataflash-3.0.0-py3-none-any.whl |
Total release size: 19.1 kB
Release files / mavdataflash-3.0.0.tar.gz
| Download URL | mavdataflash-3.0.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8423837fff17a8db08f517253b976de5cbdfb1466a9938241a5ba42d74b8204c
|
|
BLAKE2b-256 checksum How to use checksums |
5e112a104448da742e6bd9226bf7a8a4626774172df5114f9b6cfe834b3fd091
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.9
|
Release files / mavdataflash-3.0.0-py3-none-any.whl
| Download URL | mavdataflash-3.0.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3bcc83232124cf81a0de37496d1fbe4cdcd53ff665c460b106f0980f0dbe311
|
|
BLAKE2b-256 checksum How to use checksums |
4333fb6221b5d9fac187aabe9e76e166739ee92b4e3a57b6b52a2e733847e7f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.9
|
Security for mavdataflash 3.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.