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 MAVdataflash

Installing via GitHub

Install directly from the source code:

$ pip install https://github.com/generalaeronautics/MAVdataflash/archive/refs/heads/latest.zip

If you have git installed, you can also try:

$ pip install git+https://github.com/generalaeronautics/MAVdataflash.git

You can also install by cloning or downloading the repo:

$ git clone https://github.com/generalaeronautics/MAVdataflash
$ cd MAVdataflash
$ pip install .

If you get any installation or compilation errors, make sure you have the latest pip and setuptools::

$ pip install --upgrade pip setuptools

Usage

from MAVdataflash import DataFlash
# Create a new instance with DataFlash class
analysis = DataFlash("flight_data.bin")
# Return data in pandas dataframe
analysis.GetData('GPS')

# Return data in polars dataframe
analysis.GetData('GPS', 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 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')
# Return True if Parameter data type is plottable otherwise return as False
analysis.isPlotable('GPS')
analysis.isPlotable('GPS', column='Alt')

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-2.4.1.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

MAVdataflash-2.4.1-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file MAVdataflash-2.4.1.tar.gz.

File metadata

  • Download URL: MAVdataflash-2.4.1.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for MAVdataflash-2.4.1.tar.gz
Algorithm Hash digest
SHA256 dbe69477ff4188cc2cd4cc7147501ffda6f3fc6bfcf24dc60c70bd63e5123e6e
MD5 94d8d4831fa4e0d183e6b7cf8a4cf00e
BLAKE2b-256 ebe8be645fc241a7c56255fad30b1bf3018ccce26c1088c8a076a3e24143fc87

See more details on using hashes here.

File details

Details for the file MAVdataflash-2.4.1-py3-none-any.whl.

File metadata

  • Download URL: MAVdataflash-2.4.1-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for MAVdataflash-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 617c53c842a88f81c8c4150ac1b4ac5684054d3d23abb6d56963e7b2307153e0
MD5 e57bf48a3212a4beb8b7eb2c8b447ab4
BLAKE2b-256 b57625a256dd107209bf3074d89a70f830ca8c2d97d85587844f22081aa4f001

See more details on using hashes here.

Supported by

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