Go to the documentation of this file.
32 #ifndef DEPTH_SENSOR_INTERFACE_H
33 #define DEPTH_SENSOR_INTERFACE_H
132 unsigned int usDelay = 0) = 0;
143 unsigned int usDelay = 0) = 0;
154 uint8_t *readback_data,
155 uint16_t payload_len) = 0;
165 uint16_t payload_len) = 0;
177 uint16_t payload_len) = 0;
187 uint16_t payload_len) = 0;
218 int &imagerStatus) = 0;
288 uint16_t iniFileLength,
290 uint16_t calDataLength) = 0;
329 #endif // DEPTH_SENSOR_INTERFACE_H
virtual aditof::Status adsd3500_get_status(int &chipStatus, int &imagerStatus)=0
Returns the chip status.
virtual aditof::Status getFrame(uint16_t *buffer)=0
Request a frame from the sensor.
GLuint const GLchar * name
virtual aditof::Status adsd3500_reset()=0
Reset adsd3500 chip.
virtual aditof::Status adsd3500_read_cmd(uint16_t cmd, uint16_t *data, unsigned int usDelay=0)=0
Send a read command to adsd3500.
Provides details about the device.
virtual aditof::Status getDepthComputeParams(std::map< std::string, std::string > ¶ms)=0
Get ini parameters for Depth Compute library.
virtual aditof::Status setMode(const uint8_t &mode)=0
Set the sensor frame mode to the given type.
virtual aditof::Status getName(std::string &name) const =0
Get the name of the sensor.
virtual aditof::Status adsd3500_write_cmd(uint16_t cmd, uint16_t data, unsigned int usDelay=0)=0
Send a write command to adsd3500.
GLsizei const GLchar *const * string
virtual aditof::Status stop()=0
Stop the sensor data stream.
Adsd3500Status
Status of the ADSD3500 sensor.
virtual aditof::Status getDetails(aditof::SensorDetails &details) const =0
Get a structure that contains information about the instance of the sensor.
virtual aditof::Status adsd3500_read_payload_cmd(uint32_t cmd, uint8_t *readback_data, uint16_t payload_len)=0
Send a read command to adsd3500. This will perform a burst read making it useful for reading chunks o...
virtual aditof::Status adsd3500_read_payload(uint8_t *payload, uint16_t payload_len)=0
Reads a chunk of data from adsd3500. This will perform a burst read making it useful for reading chun...
virtual aditof::Status setDepthComputeParams(const std::map< std::string, std::string > ¶ms)=0
Set ini parameters for Depth Compute library.
virtual aditof::Status setHostConnectionType(std::string &connectionType)=0
Set the host connection type for target sdk.
virtual Status getAvailableControls(std::vector< std::string > &controls) const =0
Gets the sensors's list of controls.
virtual aditof::Status setSensorConfiguration(const std::string &sensorConf)=0
Set sensor configutation table.
virtual aditof::Status start()=0
Start the streaming of data from the sensor.
virtual aditof::Status adsd3500_unregister_interrupt_callback(SensorInterruptCallback &cb)=0
Unregister a function registered with adsd3500_register_interrupt_callback.
virtual aditof::Status adsd3500_register_interrupt_callback(SensorInterruptCallback &cb)=0
Register a function to be called when a ADSD3500 interrupt occurs.
virtual ~DepthSensorInterface()=default
Destructor.
virtual aditof::Status getModeDetails(const uint8_t &mode, aditof::DepthSensorModeDetails &details)=0
Returns details of specified mode.
GLenum const GLfloat * params
virtual aditof::Status getHandle(void **handle)=0
Gets a handle to be used by other devices such as Storage, Temperature, etc. This handle will allow t...
virtual aditof::Status open()=0
Open the communication channels with the hardware.
typedef void(APIENTRY *GLDEBUGPROCARB)(GLenum source
virtual aditof::Status initTargetDepthCompute(uint8_t *iniFile, uint16_t iniFileLength, uint8_t *calData, uint16_t calDataLength)=0
Get the name of the sensor.
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 adsd3500_write_payload(uint8_t *payload, uint16_t payload_len)=0
Send a chunk of data (payload) to adsd3500. This will perform a burst write making it useful for writ...
Describes the type of entire frame that a depth sensor can capture and transmit.
virtual Status setControl(const std::string &control, const std::string &value)=0
Sets a specific sensor control.
virtual Status getControl(const std::string &control, std::string &value) const =0
Gets the value of a specific sensor control.
virtual aditof::Status adsd3500_write_payload_cmd(uint32_t cmd, uint8_t *payload, uint16_t payload_len)=0
Send a write command to adsd3500. This will perform a burst write making it useful for writing chunks...
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLsizei const GLfloat * value
virtual aditof::Status getAvailableModes(std::vector< uint8_t > &modes)=0
Return all modes that are supported by the sensor.
virtual aditof::Status getIniParamsArrayForMode(int mode, std::string &iniStr)=0
Get ini parameters for Depth Compute library as string.
std::function< void(Adsd3500Status)> SensorInterruptCallback
Callback for sensor interrupts.
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:49