|
Icarus
Vehicle Simulation as a Transformable Computational Graph, built on Vulcan and Janus
|
HDF5 recorder for Icarus simulations. More...
#include <HDF5Recorder.hpp>


Public Member Functions | |
| HDF5Recorder (const SignalRegistry< double > ®istry, const RecordingConfig &config) | |
| Construct recorder from RecordingConfig. | |
| void | Open (const std::string &path) override |
| Open recording file and initialize writer. | |
| void | Record (double time) override |
| Record current signal values as a frame. | |
| void | Close () override |
| Close recording file. | |
| size_t | FrameCount () const |
| Get number of frames written. | |
| void | Flush () |
| Flush buffered data to disk. | |
| const vulcan::io::TelemetrySchema & | Schema () const |
| Get the generated schema. | |
| const std::vector< std::string > & | RecordedSignals () const |
| Get list of recorded signal names. | |
| Public Member Functions inherited from icarus::Recorder | |
| virtual | ~Recorder ()=default |
HDF5 recorder for Icarus simulations.
Wraps Vulcan's telemetry system with automatic schema generation from the Icarus signal registry. Implements the Recorder interface.
Supports multiple modes:
Example:
|
inline |
Construct recorder from RecordingConfig.
| registry | Reference to signal registry (must outlive Recorder) |
| config | Recording configuration from SimulatorConfig |
|
inlineoverridevirtual |
Close recording file.
If export_csv is enabled in config, exports data to CSV after closing HDF5.
Implements icarus::Recorder.
|
inline |
Flush buffered data to disk.
|
inlinenodiscard |
Get number of frames written.
|
inlineoverridevirtual |
Open recording file and initialize writer.
| path | Output file path (overrides config.path if non-empty) |
Implements icarus::Recorder.
|
inlineoverridevirtual |
Record current signal values as a frame.
| time | Current simulation time (MET) |
Respects decimation setting: only writes every N frames.
Implements icarus::Recorder.
|
inlinenodiscard |
Get list of recorded signal names.
|
inlinenodiscard |
Get the generated schema.