Metadata-Version: 2.1
Name: ardupilot-log-reader
Version: 0.1.0
Summary: module to read ardupilot binary logs to memory
Home-page: https://github.com/PyFlightCoach/ardupilot_log_reader
Author: Thomas David
Author-email: thomasdavid0@gmail.com
Description-Content-Type: text/markdown

# 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
    zero_time_base=True # arguments passed to pymavlink
    )

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

