Streams sensor data to disk for later replay.
More...
Streams sensor data to disk for later replay.
The recorder is capable of streaming sensor data to disk, in order to later replay that data using a file sensor.
The full example including a replaying the recordered stream is located at example_reconstructmesdk_recorder.cpp
◆ reme_recorder_t
Handle referencing a sensor recorder object.
A reme_recorder_t represents a file based recording utility that is able to save sensor frames to disk for later replay.
◆ reme_recorder_create()
◆ reme_recorder_destroy()
Destroy a previously created recorder object.
- Parameters
-
c | A pointer to a valid context object |
r | A mutable pointer to a valid recorder handle to destroy |
- Return values
-
◆ reme_recorder_set_sensor()
Set the sensor to record from.
The recorder will use the given sensor to stream data from. It will also copy the sensors' intrinsics to the resulting file sensor configuration file, so replaying from this sensor uses the correct camera intrinsics.
By default the recorder streams from the first sensor.
- Parameters
-
c | A valid context object |
r | A valid recorder object |
s | A valid sensor object |
- Return values
-
- Examples:
- example_reconstructmesdk_recorder.cpp, and example_reconstructmesdk_recorder_update_fileformat.cpp.
◆ reme_recorder_bind_file_options()
Access the recorder specific file options.
- Associated Protocol Buffers Specification
// Recorder options
message recorder_options {
// Where to save the depth file
optional string depth_file = 1 [default = "reconstructme.depths.gz"];
// Where to save the color file if supported
optional string color_file = 2 [default = "reconstructme.avi"];
// Where to save the file_sensor configuration file
// Note that the recorder will copy the relevant sensor intrinsics
// from the real sensor
optional string file_sensor_config = 3 [default = "file_sensor.txt"];
}
- Parameters
-
c | A valid context object |
r | A valid recorder object |
o | A valid options binding object |
- Return values
-
- Examples:
- example_reconstructmesdk_recorder.cpp, and example_reconstructmesdk_recorder_update_fileformat.cpp.
◆ reme_recorder_open()
◆ reme_recorder_update()
◆ reme_recorder_close()