DroneKit LA (Log Analyzer)
Log analyzer for ArduPilot DataFlash logs and MAVLink telemetry logs.
DroneKit Log Analyzer (DroneKit-LA) is a powerful open source static analyzer for ArduPilot DataFlash logs and MAVLink telemetry logs.
The tool can read and analyze several log formats, including telemetry logs (tlogs), dataflash binary logs (.BIN) and dataflash text dumps (.log), and output detailed error and warning information in several formats (json, text, summary). The output includes detailed information about the tests, including what tests were run, the results (pass, fail, warn), severity, and supporting evidence.
DroneKit-LA is also fast, memory efficient and extensible. It supports numerous analyzers and can quickly analyzing even very large logs.
The tool is written in C++ and can compile on a Linux, Mac OSX or Windows computer or within a Vagrant-based Linux VM.
The Getting Started guide explains how to install DroneKit-LA, how to run the tool, and how to interpret the results.
After installing, the tool, running an analysis can be as simple as entering the following command on a terminal:
# You only need to specify the target file for a dataflash log ./dronekit-la log_file.bin # Additionally specify frame and model type for a Solo TLOG ./dronekit-la a_log_file.tlog -f copter -m QUAD
The guide also lists all the other command line arguments, provides information about the current set of analyzers, and explains how you can extend DroneKit-LA to get more information out of logs and add new analyzers.
You can build dronekit-la natively on Linux, Mac OS X or Windows using the
Makefile in the dronekit-la root directory:
The dependencies for building each platform are different, as documented in the guide: Contributing to DroneKit-LA.
Both the tool and documentation can also be built and run from within a Vagrant VM.
Users and contributors wanted!
We'd love your feedback and suggestions about this tool and are eager to evolve it to meet your needs. Please feel free to create an issue to report bugs or feature requests.
DroneKit-LA is made available under the permissive open source Apache 2.0 License.
- Documentation: http://la.dronekit.io/
- Test Logs: /dronekit/dronekit-la-testdata
- Open Issues: /dronkeit-la/issues
- Forums: https://discuss.dronekit.io
- Gitter: https://gitter.im/dronekit/dronekit-la though we prefer posts on the forums where possible.
Copyright 2016 3D Robotics, Inc.