PyFlightCoach / ArdupilotLogReader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Python 98.8%Language:Batchfile 0.8%Language:Shell 0.4%