Go to the documentation of this file.
32 #ifndef NETWORK_DEPTH_SENSOR_H
33 #define NETWORK_DEPTH_SENSOR_H
39 #include <unordered_map>
73 unsigned int usDelay = 0)
override;
76 unsigned int usDelay = 0)
override;
79 uint16_t payload_len)
override;
81 uint16_t payload_len)
override;
84 uint16_t payload_len)
override;
93 int &imagerStatus)
override;
96 uint8_t *calData, uint16_t calDataLength)
override;
101 const std::map<std::string, std::string> &
params)
override;
118 std::unordered_map<void *, aditof::SensorInterruptCallback>
126 #endif // NETWORK_DEPTH_SENSOR_H
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...
GLuint const GLchar * name
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 getDepthComputeParams(std::map< std::string, std::string > ¶ms) override
Get ini parameters for Depth Compute library.
Provides details about the device.
std::thread m_activityCheckThread
virtual aditof::Status setMode(const aditof::DepthSensorModeDetails &type) override
Set the sensor frame mode to the given type.
virtual aditof::Status getAvailableModes(std::vector< uint8_t > &modes) override
Return all modes that are supported by the sensor.
void checkForServerUpdates()
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...
GLsizei const GLchar *const * string
virtual aditof::Status adsd3500_get_status(int &chipStatus, int &imagerStatus) override
Returns the chip status.
virtual aditof::Status initTargetDepthCompute(uint8_t *iniFile, uint16_t iniFileLength, uint8_t *calData, uint16_t calDataLength) override
Get the name of the sensor.
aditof::Status setSensorConfiguration(const std::string &sensorConf) override
Set sensor configutation table.
virtual aditof::Status getName(std::string &name) const override
Get the name of the sensor.
virtual aditof::Status adsd3500_unregister_interrupt_callback(aditof::SensorInterruptCallback &cb) override
Unregister a function registered with adsd3500_register_interrupt_callback.
virtual aditof::Status adsd3500_read_cmd(uint16_t cmd, uint16_t *data, unsigned int usDelay=0) override
Send a read command to adsd3500.
static int m_sensorCounter
virtual aditof::Status getFrame(uint16_t *buffer) override
Request a frame from the sensor.
virtual aditof::Status setHostConnectionType(std::string &connectionType) override
Set the host connection type for target sdk.
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 getDetails(aditof::SensorDetails &details) const override
Get a structure that contains information about the instance of the sensor.
virtual aditof::Status start() override
Start the streaming of data from the sensor.
virtual aditof::Status adsd3500_register_interrupt_callback(aditof::SensorInterruptCallback &cb) override
Register a function to be called when a ADSD3500 interrupt occurs.
NetworkDepthSensor(const std::string &name, const std::string &ip)
GLenum const GLfloat * params
virtual aditof::Status stop() override
Stop the sensor data stream.
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_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 getControl(const std::string &control, std::string &value) const override
Gets the value of a specific sensor control.
virtual aditof::Status setDepthComputeParams(const std::map< std::string, std::string > ¶ms) override
Set ini parameters for Depth Compute library.
virtual aditof::Status getModeDetails(const uint8_t &mode, aditof::DepthSensorModeDetails &details) override
Returns details of specified mode.
virtual aditof::Status adsd3500_reset() override
Reset adsd3500 chip.
aditof::SensorDetails m_sensorDetails
Describes the type of entire frame that a depth sensor can capture and transmit.
std::unique_ptr< ImplData > m_implData
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
virtual aditof::Status open() override
Open the communication channels with the hardware.
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 getAvailableControls(std::vector< std::string > &controls) const override
Gets the sensors's list of controls.
std::unordered_map< void *, aditof::SensorInterruptCallback > m_interruptCallbackMap
virtual aditof::Status setControl(const std::string &control, const std::string &value) override
Sets a specific sensor control.
aditof::Status getIniParamsArrayForMode(int mode, std::string &iniStr) override
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:57