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
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.
Create a new sensor recorder object.
- Parameters
-
c | A valid context object |
r | A pointer that will receive the handle of the created recorder |
- Return values
-
- Examples:
- example_reconstructmesdk_recorder.cpp.
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
-
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.
Access the recorder specific file options.
- Associated Protocol Buffers Specification
message recorder_options {
optional string depth_file = 1 [default = "reconstructme.depths.gz"];
optional string color_file = 2 [default = "reconstructme.avi"];
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.
Open the recorder for streaming.
This will force existing files to be overridden.
- Parameters
-
c | A valid context object |
r | A valid recorder object |
- Return values
-
- Examples:
- example_reconstructmesdk_recorder.cpp.
Update the associated file streams with the current sensor content.
- Parameters
-
c | A valid context object |
r | A valid recorder object |
- Return values
-
- Examples:
- example_reconstructmesdk_recorder.cpp.