Flight Analytics App
parses ArduPilot DataFlash .bin log files entirely in the browser and presents the data across four tabs.
Data Pipeline: User selects a drone and uploaded log from a dropdown. The .bin file is fetched from S3, parsed client-side into typed message arrays (ATT, GPS, BARO, RCOU, CTUN, VIBE, POWR, BAT, MODE, MSG, CMD, ERR), then transformed into chart-ready time series, GPS tracks, flight mode segments, and a summary panel.
Four Tabs:
-
Charts — 12 categorized line charts (Attitude, Altitude, RC, Vibration, Power, Navigation) with click-and-drag brush zoom and flight-mode time filtering. Each chart exports to CSV or PNG.
-
Timeline — Horizontal flight mode timeline with clickable segments that filter all charts to that mode’s time window.
-
GPS Map — Leaflet map rendering the GPS ground track as a gradient polyline (green-to-red by speed), with auto-fit bounds.
-
Summary — Key stats (duration, max altitude, distance, avg speed, mode breakdown, error/event counts) with a one-click Markdown export.
Compare Mode: Side-by-side overlay of two logs from different flights on the same chart axes, useful for tuning validation.
State Persistence: A module-level cache stores the full parsed state so switching to another app and back restores instantly without re-downloading or re-parsing. Only a full page refresh triggers a re-parse.








