EduArt Sensor Ring Library 4.0.0
Loading...
Searching...
No Matches
VL53L8CX_Device.hpp
Go to the documentation of this file.
1// Copyright (c) 2026 EduArt Robotik GmbH
2
9
10#pragma once
11
12#include <memory>
13#include <vector>
14
20#include "sensorring/platform/SensorringExport.hpp"
21
22namespace eduart {
23
24namespace sensorring {
25
26namespace device {
27
28class VL53L8CX_DeviceImpl;
29
34class SENSORRING_EXPORT VL53L8CX_Device : public DepthSensor {
35public:
42 VL53L8CX_Device(VL53L8CX_Params params, com::ComInterfaceID interface, unsigned int idx);
45
50 const VL53L8CX_Params& getParams() const override;
51
52protected:
53 bool sendMeasurementRequest(std::uint8_t sequence_number) override;
54 bool sendMeasurementTransmissionRequest() override;
55
56private:
62 void comCallback(const com::ComEndpoint source, std::uint8_t command, const std::vector<uint8_t>& data) override;
63
64 friend class VL53L8CX_DeviceImpl;
65 std::unique_ptr<VL53L8CX_DeviceImpl> _impl;
66};
67
68} // namespace device
69
70} // namespace sensorring
71
72} // namespace eduart
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 VL53L8CX Time-of-Flight sensor.
DepthSensor(DeviceID id, com::ComInterface *interface, com::ComEndpoint target, DepthSensorConfig config)
Construct a DepthSensor with Device params, field-of-view and pixel resolution.
VL53L8CX_Device(VL53L8CX_Params params, com::ComInterfaceID interface, unsigned int idx)
Construct a new VL53L8CX device instance.
const VL53L8CX_Params & getParams() const override
Get the sensor parameters used to configure this device.
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 Time-of-Flight sensor of a sensor board.
Definition VL53L8CX_Params.hpp:25