Skip to content

About

Inspect ULog flight recordings and verify log quality from the command line.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Flight Log Inspector

Flight Log Inspector reads recorded ULog (.ulg) flight telemetry. Use the command-line tool to inspect topic instances and their sample counts, message layouts, metadata, initial and default parameters, text messages, and logging dropouts. A C++ library exposes typed samples, incremental parsing, and log writing.

Requirements

  • A C++17 compiler, CMake 3.16 or newer, and a little-endian system.
  • Optional: an installed doctest CMake package for the C++ unit tests.

Build

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$PWD/install"
cmake --build build --parallel
ctest --test-dir build --output-on-failure
cmake --install build

The CLI, library, and default CLI tests build without external dependencies. Set -DFLIGHT_LOG_ENABLE_UNIT_TESTS=ON to include the C++ test suite and -DFLIGHT_LOG_BUILD_EXAMPLES=ON to build the reader and writer examples. Set -DBUILD_TESTING=OFF to skip test registration.

Quick start

./install/bin/flight-log-inspector tests/log_files/sample_log_small.ulg

In the topic listing, sensor_combined (0) - 1298 means instance 0 has 1,298 samples. Parsing warnings go to standard error. A fatal parse error or an unreadable file produces a nonzero exit status. The CLI keeps samples in memory while it builds the report. The C++ reader can process chunks incrementally for large logs. Logs with appended data segments may yield partial results.

C++ library

Point CMAKE_PREFIX_PATH to the installation directory, then link the library in your project.

find_package(flight_log CONFIG REQUIRED)
target_link_libraries(my_tool PRIVATE flight_log::flight_log)

Public headers are under flight_log/. The examples show typed sample access, streaming reads, and file writing.

Contributing and license

See CONTRIBUTING.md. The project is distributed under the BSD 3-Clause License in LICENSE. Source and fixture attribution are recorded in NOTICE.

About

Inspect ULog flight recordings and verify log quality from the command line.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages