Go to the documentation of this file. 1 #ifndef OFFLINE_DEPTH_SENSOR_H
2 #define OFFLINE_DEPTH_SENSOR_H
46 unsigned int usDelay = 0)
override;
48 unsigned int usDelay)
override;
51 uint16_t payload_len)
override;
53 uint16_t payload_len)
override;
56 uint16_t payload_len)
override;
65 int &imagerStatus)
override;
68 uint8_t *calData, uint16_t calDataLength)
override;
72 const std::map<std::string, std::string> &
params)
override;
85 std::map<std::string, std::pair<std::uint16_t *, std::size_t>>
m_frameTypes;
88 {
"raw",
"depth",
"ab",
"conf",
"xyz",
"metadata"},
99 {
"raw",
"depth",
"ab",
"conf",
"xyz",
"metadata"},
121 {
"raw",
"depth",
"ab",
"conf",
"xyz",
"metadata"},
132 {
"raw",
"depth",
"ab",
"conf",
"xyz",
"metadata"},
143 {
"raw",
"depth",
"ab",
"conf",
"xyz",
"metadata"},
154 {
"raw",
"depth",
"ab",
"conf",
"xyz",
"metadata"},
168 uint16_t m_outputFrameWidth;
169 uint16_t m_outputFrameHeight;
173 #endif // OFFLINE_DEPTH_SENSOR_H
virtual aditof::Status getControl(const std::string &control, std::string &value) const override
Gets the value of a specific sensor control.
GLuint const GLchar * name
virtual aditof::Status initTargetDepthCompute(uint8_t *iniFile, uint16_t iniFileLength, uint8_t *calData, uint16_t calDataLength) override
Get the name of the sensor.
std::vector< aditof::DepthSensorModeDetails > m_depthSensorModeDetails
Provides details about the device.
virtual aditof::Status adsd3500_write_payload(uint8_t *payload, uint16_t payload_len) override
Send a chunk of data (payload) to adsd3500. This will perform a burst write making it useful for writ...
virtual aditof::Status adsd3500_read_payload(uint8_t *payload, uint16_t payload_len) override
Reads a chunk of data from adsd3500. This will perform a burst read making it useful for reading chun...
aditof::SensorDetails m_sensorDetails
virtual aditof::Status getDetails(aditof::SensorDetails &details) const override
Get a structure that contains information about the instance of the sensor.
GLsizei const GLchar *const * string
const std::vector< aditof::DepthSensorModeDetails > availableModes
virtual aditof::Status open() override
Open the communication channels with the hardware.
virtual aditof::Status getFrame(uint16_t *buffer) override
Request a frame from the sensor.
virtual aditof::Status setDepthComputeParams(const std::map< std::string, std::string > ¶ms) override
Set ini parameters for Depth Compute library.
virtual aditof::Status getName(std::string &name) const override
Get the name of the sensor.
virtual aditof::Status setSensorConfiguration(const std::string &sensorConf) override
Set sensor configutation table.
OfflineDepthSensor(std::string path)
virtual aditof::Status adsd3500_unregister_interrupt_callback(aditof::SensorInterruptCallback &cb) override
Unregister a function registered with adsd3500_register_interrupt_callback.
virtual aditof::Status getHandle(void **handle) override
Gets a handle to be used by other devices such as Storage, Temperature, etc. This handle will allow t...
virtual aditof::Status getDepthComputeParams(std::map< std::string, std::string > ¶ms) override
Get ini parameters for Depth Compute library.
virtual aditof::Status adsd3500_reset() override
Reset adsd3500 chip.
virtual aditof::Status setHostConnectionType(std::string &connectionType) override
Set the host connection type for target sdk.
GLsizei const GLchar ** path
virtual aditof::Status start() override
Start the streaming of data from the sensor.
std::string m_connectionType
virtual aditof::Status adsd3500_write_cmd(uint16_t cmd, uint16_t data, unsigned int usDelay) override
Send a write command to adsd3500.
virtual aditof::Status adsd3500_get_status(int &chipStatus, int &imagerStatus) override
Returns the chip status.
GLenum const GLfloat * params
virtual aditof::Status stop() override
Stop the sensor data stream.
virtual aditof::Status adsd3500_write_payload_cmd(uint32_t cmd, uint8_t *payload, uint16_t payload_len) override
Send a write command to adsd3500. This will perform a burst write making it useful for writing chunks...
Function to get the version for TOF Depth Compute Engine Library.
virtual aditof::Status setControl(const std::string &control, const std::string &value) override
Sets a specific sensor control.
Status
Status of any operation that the TOF sdk performs.
Provides access to the low level functionality of the camera sensor. This includes sensor configurati...
virtual aditof::Status getAvailableControls(std::vector< std::string > &controls) const override
Gets the sensors's list of controls.
virtual aditof::Status adsd3500_register_interrupt_callback(aditof::SensorInterruptCallback &cb) override
Register a function to be called when a ADSD3500 interrupt occurs.
virtual aditof::Status getAvailableModes(std::vector< uint8_t > &modes) override
Return all modes that are supported by the sensor.
Describes the configuration of the used driver.
Describes the type of entire frame that a depth sensor can capture and transmit.
std::map< std::string, std::pair< std::uint16_t *, std::size_t > > m_frameTypes
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
virtual aditof::Status adsd3500_read_payload_cmd(uint32_t cmd, uint8_t *readback_data, uint16_t payload_len) override
Send a read command to adsd3500. This will perform a burst read making it useful for reading chunks o...
GLsizei const GLfloat * value
virtual aditof::Status getModeDetails(const uint8_t &mode, aditof::DepthSensorModeDetails &details) override
Returns details of specified mode.
aditof::Status getIniParamsArrayForMode(int mode, std::string &iniStr) override
Get ini parameters for Depth Compute library as string.
virtual aditof::Status adsd3500_read_cmd(uint16_t cmd, uint16_t *data, unsigned int usDelay=0) override
Send a read command to adsd3500.
std::function< void(Adsd3500Status)> SensorInterruptCallback
Callback for sensor interrupts.
virtual aditof::Status setMode(const aditof::DepthSensorModeDetails &mode) override
Set the sensor frame mode to the given type.
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:57