20#include "sensorring/platform/SensorringExport.hpp"
28class TMF8829_DeviceImpl;
172 bool sendMeasurementRequest(std::uint8_t sequence_number)
override;
173 bool sendMeasurementTransmissionRequest()
override;
181 void comCallback(
const com::ComEndpoint source, std::uint8_t command,
const std::vector<uint8_t>& data)
override;
183 friend class TMF8829_DeviceImpl;
184 std::unique_ptr<TMF8829_DeviceImpl> _impl;
Interface type definition.
Pure data structure for depth sensor measurements.
Abstract interface for depth-sensing devices (ToF, structured light, etc.).
Collection of math functions.
Parameter structure for the TMF8829 Time-of-Flight sensor.
ResolutionMode
Supported resolution modes of the TMF8829 sensor.
Definition TMF8829_Params.hpp:27
DepthSensor(DeviceID id, com::ComInterface *interface, com::ComEndpoint target, DepthSensorConfig config)
Construct a DepthSensor with Device params, field-of-view and pixel resolution.
bool setResolutionMode(ResolutionMode mode)
Set the resolution mode of the sensor.
bool getResultXtalk(bool &xtalk)
Get whether crosstalk data is included in measurement results.
bool getIterationsSetting(std::uint16_t &k_iterations)
Get the iterations setting of the sensor in kilo iteration per measurement.
bool setResultFullNoise(bool full_noise)
Enable or disable full noise data in measurement results.
~TMF8829_Device()
Destructor.
bool getResultSignalStrength(bool &signal_strength)
Get whether signal strength data is included in measurement results.
bool setResultFormat(TMF8829_ResultFormat format)
Set the result format of the sensor.
bool configure() override
Re-apply runtime configuration after a board reset.
bool getResultFullNoise(bool &full_noise)
Get whether full noise data is included in measurement results.
const TMF8829_Params & getParams() const override
Get the sensor parameters used to configure this device.
bool getResolutionMode(ResolutionMode &mode)
Get the resolution mode of the sensor.
TMF8829_Device(TMF8829_Params params, com::ComInterfaceID interface, unsigned int idx)
Construct a new TMF8829 device instance.
bool setResultNoiseStrength(bool noise_strength)
Enable or disable noise strength data in measurement results.
bool getResultNrOfPeaks(std::uint8_t &nr_of_peaks)
Get the maximum number of peaks reported per pixel in measurement results.
bool setResultNrOfPeaks(std::uint8_t nr_of_peaks)
Set the maximum number of peaks reported per pixel in measurement results.
bool setIterationsSetting(std::uint16_t k_iterations)
Set the iterations setting of the sensor in kilo iteration per measurement.
bool getResultNoiseStrength(bool &noise_strength)
Get whether noise strength data is included in measurement results.
bool setResultSignalStrength(bool signal_strength)
Enable or disable signal strength data in measurement results.
bool setResultXtalk(bool xtalk)
Enable or disable crosstalk data in measurement results.
bool getResultFormat(TMF8829_ResultFormat &format)
Get the result format of the sensor.
Uniquely identifies a communication endpoint as a (Direction, BoardAddress, DeviceId) tuple.
Definition ComEndpoint.hpp:37
Uniquely identifies a communication interface by type and name.
Definition ComInterfaceID.hpp:51
Parameter structure of the TMF8829 sensor of a sensor board.
Definition TMF8829_Params.hpp:72