Metadata-Version: 2.1
Name: ardupilot-log-reader
Version: 0.3.3
Summary: module to read ardupilot binary logs to memory
Author-email: Thomas David <thomasdavid0@gmail.com>
License: GNU GPL v3
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: pymavlink

# Ardupilot Log Reader

This package wraps untidily around mavlogdump in pymavlink, to read an ardupilot log to a pandas dataframe.

## usage

#set up the parser
from ArdupilotLogReader import Ardupilot
parser = Ardupilot(
    log_file, # the log file, .bin
    types = ['ARSP', 'ATT', 'BARO', 'GPS', 'IMU', 'RCIN', 'RCOU', 'BAT', 'MODE', 'NKF1', 'STAT', 'XKF1'],  # fields to read from the log
    )

parser.dfs # a dict containing a dataframes of log data for each field requested.
parser.join_logs(['ARSP', 'ATT']) #returns a pandas dataframe containing the ARSP and ATT data joined on time
parser.parms # returns the parameters read from the top of the log

