|
Icarus
Vehicle Simulation as a Transformable Computational Graph, built on Vulcan and Janus
|
HDF5 recording configuration. More...
#include <SimulatorConfig.hpp>
Public Member Functions | |
| bool | IsActive () const |
| Check if recording is active. | |
| std::vector< std::string > | Validate () const |
| Validate recording configuration. | |
Static Public Member Functions | |
| static RecordingConfig | Default () |
| Create default config (recording disabled). | |
Public Attributes | |
| bool | enabled = false |
| Enable recording. | |
| std::string | path = "output/recording.h5" |
| Output file path. | |
| std::string | mode = "outputs" |
| Recording mode: "off", "all", "outputs", "signals". | |
| std::vector< std::string > | include |
| Include patterns (regex) - used when mode = "signals". | |
| std::vector< std::string > | exclude |
| Exclude patterns (regex) - applied after include. | |
| bool | include_derivatives = false |
| Include derivative signals (_dot). | |
| bool | include_inputs = false |
| Include input signals (only meaningful with mode = "all"). | |
| int | flush_interval = 0 |
| Flush interval (frames between disk flushes, 0 = auto). | |
| int | decimation = 1 |
| Decimation factor: record every N frames (1 = every frame, 10 = every 10th frame). | |
| bool | export_csv = false |
| Export CSV copy on close (for PlotJuggler, Excel, etc.). | |
HDF5 recording configuration.
Controls automatic signal recording to HDF5 files. Supports flexible signal selection via mode and pattern matching.
Modes:
Example YAML:
|
inlinestaticnodiscard |
Create default config (recording disabled).
|
inlinenodiscard |
Check if recording is active.
|
inlinenodiscard |
Validate recording configuration.
| int icarus::RecordingConfig::decimation = 1 |
Decimation factor: record every N frames (1 = every frame, 10 = every 10th frame).
| bool icarus::RecordingConfig::enabled = false |
Enable recording.
| std::vector<std::string> icarus::RecordingConfig::exclude |
Exclude patterns (regex) - applied after include.
| bool icarus::RecordingConfig::export_csv = false |
Export CSV copy on close (for PlotJuggler, Excel, etc.).
| int icarus::RecordingConfig::flush_interval = 0 |
Flush interval (frames between disk flushes, 0 = auto).
| std::vector<std::string> icarus::RecordingConfig::include |
Include patterns (regex) - used when mode = "signals".
| bool icarus::RecordingConfig::include_derivatives = false |
Include derivative signals (_dot).
| bool icarus::RecordingConfig::include_inputs = false |
Include input signals (only meaningful with mode = "all").
| std::string icarus::RecordingConfig::mode = "outputs" |
Recording mode: "off", "all", "outputs", "signals".
| std::string icarus::RecordingConfig::path = "output/recording.h5" |
Output file path.