Go to the documentation of this file.
32 #ifndef USB_DEPTH_SENSOR_H
33 #define USB_DEPTH_SENSOR_H
76 unsigned int usDelay = 0)
override;
79 unsigned int usDelay = 0)
override;
82 uint16_t payload_len)
override;
84 uint16_t payload_len)
override;
87 uint16_t payload_len)
override;
96 int &imagerStatus)
override;
99 uint8_t *calData, uint16_t calDataLength)
override;
103 const std::map<std::string, std::string> &
params)
override;
119 #endif // USB_DEPTH_SENSOR_H
GLuint const GLchar * name
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...
virtual aditof::Status adsd3500_unregister_interrupt_callback(aditof::SensorInterruptCallback &cb) override
Unregister a function registered with adsd3500_register_interrupt_callback.
Provides details about the device.
virtual aditof::Status getName(std::string &name) const override
Get the name of the sensor.
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_get_status(int &chipStatus, int &imagerStatus) override
Returns the chip status.
GLsizei const GLchar *const * string
virtual aditof::Status setMode(const aditof::DepthSensorModeDetails &type) override
Set the sensor frame mode to the given type.
virtual aditof::Status adsd3500_reset() override
Reset adsd3500 chip.
virtual aditof::Status initTargetDepthCompute(uint8_t *iniFile, uint16_t iniFileLength, uint8_t *calData, uint16_t calDataLength) override
Get the name of the sensor.
virtual aditof::Status getFrame(uint16_t *buffer) override
Request a frame from the sensor.
virtual aditof::Status open() override
Open the communication channels with the hardware.
virtual aditof::Status getDetails(aditof::SensorDetails &details) const override
Get a structure that contains information about the instance of the sensor.
virtual aditof::Status adsd3500_write_cmd(uint16_t cmd, uint16_t data, unsigned int usDelay=0) override
Send a write command to adsd3500.
virtual aditof::Status getControl(const std::string &control, std::string &value) const override
Gets the value of a specific sensor control.
virtual aditof::Status getAvailableControls(std::vector< std::string > &controls) const override
Gets the sensors's list of controls.
std::unique_ptr< ImplData > m_implData
virtual aditof::Status getAvailableModes(std::vector< uint8_t > &modes) override
Return all modes that are supported by the sensor.
static const unsigned int USB_FRAME_WIDTH
virtual aditof::Status adsd3500_read_cmd(uint16_t cmd, uint16_t *data, unsigned int usDelay=0) override
Send a read command to adsd3500.
virtual aditof::Status adsd3500_register_interrupt_callback(aditof::SensorInterruptCallback &cb) override
Register a function to be called when a ADSD3500 interrupt occurs.
GLenum const GLfloat * params
virtual aditof::Status start() override
Start the streaming of data from the sensor.
std::vector< aditof::DepthSensorModeDetails > m_depthSensorModes
aditof::Status getIniParamsArrayForMode(int mode, std::string &iniStr) override
Get ini parameters for Depth Compute library as string.
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...
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 setHostConnectionType(std::string &connectionType) override
Set the host connection type for target sdk.
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 setDepthComputeParams(const std::map< std::string, std::string > ¶ms) override
Set ini parameters for Depth Compute library.
static const unsigned int USB_FRAME_HEIGHT
virtual aditof::Status setSensorConfiguration(const std::string &sensorConf) override
Set sensor configutation table.
Describes the type of entire frame that a depth sensor can capture and transmit.
virtual aditof::Status stop() override
Stop the sensor data stream.
virtual aditof::Status getModeDetails(const uint8_t &mode, aditof::DepthSensorModeDetails &details) override
Returns details of specified mode.
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...
virtual aditof::Status getDepthComputeParams(std::map< std::string, std::string > ¶ms) override
Get ini parameters for Depth Compute library.
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLsizei const GLfloat * value
UsbDepthSensor(const std::string &name, const std::string &driverPath)
aditof::SensorDetails m_sensorDetails
virtual aditof::Status setControl(const std::string &control, const std::string &value) override
Sets a specific sensor control.
std::function< void(Adsd3500Status)> SensorInterruptCallback
Callback for sensor interrupts.
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:01