fdr_recordTelemetry

Mock Jutsu HOW-TO | EN

The fdr_record function within the mock-jutsu library provides developers with high-fidelity telemetry data mimicking a Flight Data Recorder (FDR). Generating realistic aviation test data is often a complex task involving physics simulations, but mock-jutsu simplifies this by providing a structured time-series output. Each record includes critical flight parameters such as pitch, roll, yaw, altitude in feet, speed in knots, vertical speed in feet per minute, and g-force. This makes it an essential tool for engineers building aerospace applications, monitoring systems, or data visualization platforms that require high-density sensor streams.

What sets fdr_record apart from generic mock data generators is its use of a physics-constrained bounded random walk algorithm. Operating at a simulated frequency of 10 Hz, the generator ensures that the transition between data points remains within the realm of physical possibility. For instance, a simulated aircraft cannot instantly flip from a positive to a negative pitch without passing through the intermediate states. By enforcing these boundaries, the library produces a seamless stream of samples that look and behave like real sensor output, which is vital for testing the edge cases of flight control software and telemetry ingestion pipelines.

Developers can leverage this function across various environments using the CLI command "mockjutsu generate fdr_record," the Python API via "jutsu.generate('fdr_record')," or even within performance testing tools like JMeter using the mock-jutsu function string. This versatility allows teams to simulate thousands of concurrent flights to stress-test time-series databases or validate real-time alerting systems. Whether you are building a pilot training dashboard or a predictive maintenance model, the high-quality test data produced by this function reduces the dependency on expensive flight simulators or proprietary hardware logs.

The primary benefit of using fdr_record is the significant reduction in development time and infrastructure overhead. Instead of manually crafting CSV files or writing custom scripts to simulate gravity and motion, developers get instant access to standardized, high-density telemetry. Because mock-jutsu follows industry-standard naming conventions and units, the generated mock data integrates seamlessly into existing aviation workflows. This ensures that your application is battle-tested against realistic inputs long before it ever encounters data from a physical black box recorder.

CLI Usage
mockjutsu generate fdr_recordmockjutsu bulk fdr_record --count 10mockjutsu export fdr_record --count 10 --format jsonmockjutsu export fdr_record --count 10 --format csvmockjutsu export fdr_record --count 10 --format sql
Python API
from mockjutsu import jutsujutsu.generate('fdr_record')jutsu.bulk('fdr_record', count=10)jutsu.template(['fdr_record'], count=5)
JMeter
${__mockjutsu_telemetry(fdr_record)}# JMeter Function: __mockjutsu_telemetry# Parameter 1: fdr_record# Parameter 2: (not required for this function)
REST API
GET /generate/fdr_record# → {"type":"fdr_record","result":"...","status":"ok"}GET /bulk/fdr_record?count=10POST /template {"types":["fdr_record"],"count":1}

Other Languages