17#include "sensorring/platform/SensorringExport.hpp"
30 Res8x8HighAccuracy = 2,
32 Res16x16HighAccuracy = 4,
34 Res32x32HighAccuracy = 6,
36 Res48x32HighAccuracy = 8
Parameter structure for the DepthSensor.
unsigned int getXResolution(ResolutionMode mode)
Get the horizontal resolution (number of columns) for a given resolution mode.
SENSORRING_EXPORT std::ostream & operator<<(std::ostream &os, ResolutionMode mode) noexcept
Output stream operator for the ResolutionMode enum class members.
ResolutionMode
Supported resolution modes of the TMF8829 sensor.
Definition TMF8829_Params.hpp:27
unsigned int getYResolution(ResolutionMode mode)
Get the vertical resolution (number of rows) for a given resolution mode.
SENSORRING_EXPORT std::string toString(ResolutionMode mode) noexcept
Function to convert the ResolutionMode enum class members to string.
Parameter structure of the DepthSensor.
Definition DepthSensorParams.hpp:25
double max_rate_hz
Definition DeviceParams.hpp:39
bool isResultSizeValid() const
Check if the combination of the specified parameters is valid.
std::size_t calculateResultFrameSize() const
Calculate the resulting frame size of the current parameters.
TMF8829_Params()
Default constructor; sets the maximum measurement rate to 30 Hz.
Definition TMF8829_Params.hpp:75
TMF8829_ResultFormat result_format
Result format of the measurement. Specifies which additional values are included in each measurement.
Definition TMF8829_Params.hpp:90
std::uint16_t k_iterations
Iterations setting of the sensor in kilo iteration per measurement. Refer to the TMF8829 datasheet fo...
Definition TMF8829_Params.hpp:87
TMF8829_Params(const DepthSensorParams ¶ms)
Initializes the TMF8829_Params from a DepthSensorParams instance.
Definition TMF8829_Params.hpp:78
ResolutionMode resolution_mode
Resolution mode of the sensor. See TMF8829 datasheet for details on the different modes.
Definition TMF8829_Params.hpp:84