Skip to main content

Read, analyze and visualize *.bin flight data logs recorded by ArduPilot

Project description

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')

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

mavdataflash-3.0.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

mavdataflash-3.0.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file mavdataflash-3.0.0.tar.gz.

File metadata

  • Download URL: mavdataflash-3.0.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for mavdataflash-3.0.0.tar.gz
Algorithm Hash digest
SHA256 8423837fff17a8db08f517253b976de5cbdfb1466a9938241a5ba42d74b8204c
MD5 f5478636bd4011b9f7224f03c14a4a32
BLAKE2b-256 5e112a104448da742e6bd9226bf7a8a4626774172df5114f9b6cfe834b3fd091

See more details on using hashes here.

File details

Details for the file mavdataflash-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: mavdataflash-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for mavdataflash-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3bcc83232124cf81a0de37496d1fbe4cdcd53ff665c460b106f0980f0dbe311
MD5 745507bae2bc4de470bfa5652c3f2c80
BLAKE2b-256 4333fb6221b5d9fac187aabe9e76e166739ee92b4e3a57b6b52a2e733847e7f5

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