log-analyze

Analyze ArduPilot DataFlash .bin logs with pymavlink for extraction, statistics, and plotting.

17|6|Updated Oct 27, 2025
One-click install
npx skills add https://github.com/fossuav/aap --skill log-analyze-fossuav
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: log-analyze
Source: https://github.com/fossuav/aap/tree/main/claude/skills/log-analyze
Command: npx skills add https://github.com/fossuav/aap --skill log-analyze-fossuav

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymavlink, matplotlib, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a powerful command-line interface for analyzing ArduPilot DataFlash log files (.bin), enabling users to quickly extract, compare, and visualize critical flight data without writing custom scripts.

Core Features & Use Cases

  • Data Extraction: Extract specific message types and fields (e.g., EKF data, sensor readings, control outputs) into CSV format.
  • Comparative Analysis: Compare data from multiple sensors or parameters over time using pre-defined recipes (e.g., altitude, attitude, vibration) or custom source specifications.
  • Statistical Analysis: Compute key statistics (min, max, mean, std dev, percentiles) for selected data fields.
  • Visualization: Generate plots of flight data for easier diagnosis of issues like oscillation or tuning problems.
  • Use Case: After a flight, use this Skill to extract EKF altitude and rangefinder data, compare them to identify discrepancies, and plot the results to diagnose a potential altitude estimation issue.

Quick Start

Use the log-analyze skill to get an overview of the attached file 'flight.bin'.

Frequently Asked Questions about log-analyze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze ArduPilot DataFlash .bin flight logs?

To analyze ArduPilot DataFlash .bin flight logs, use this Skill to extract structured data, compare parameters, compute statistics, and plot results using pymavlink without writing custom scripts.

Can I compare EKF altitude and rangefinder data from flight logs?

Yes, you can compare EKF altitude and rangefinder data from flight logs using pre-defined recipes or custom source specifications to identify discrepancies and diagnose altitude estimation issues.

How do I extract specific sensor readings from a .bin file into CSV?

Extract specific sensor readings from a .bin file into CSV format by using the extract command to target specific message types and fields parsed through pymavlink.

What is the best way to plot ArduPilot flight data for oscillation diagnosis?

The best way to plot ArduPilot flight data for oscillation diagnosis is using the plot command to generate visual graphs of control outputs and vibration metrics extracted from the DataFlash logs.

Does this log analysis tool require pymavlink and matplotlib to work?

Yes, this log analysis tool requires both pymavlink for efficient DataFlash log parsing and matplotlib for generating visual plots of the extracted flight data.

How do I compute statistics like min, max, and standard deviation for flight parameters?

Compute statistics like min, max, mean, standard deviation, and percentiles for flight parameters by running the stats command on the selected data fields from your ArduPilot logs.