7 #ifndef IFM3D_DESERIALIZE_O3D_BUFFERS_HPP
8 #define IFM3D_DESERIALIZE_O3D_BUFFERS_HPP
12 #include <ifm3d/device/err.h>
13 #include <ifm3d/fg/organizer_utils.h>
14 #include <ifm3d/fg/buffer.h>
15 #include <ifm3d/deserialize/deserialize_utils.hpp>
21 enum class intrinsic_param : std::uint32_t
46 constexpr
auto O3D_NUMBER_OF_INTRINSIC_CALIBRATION_PARAM = 16;
47 constexpr
auto O3D_NUMBER_OF_INVERSE_INTRINSIC_CALIBRATION_PARAM =
48 O3D_NUMBER_OF_INTRINSIC_CALIBRATION_PARAM;
49 constexpr
auto O3D_NUMBER_OF_EXTRINSIC_PARAM = 6;
50 constexpr
auto O3D_NUMBER_OF_EXPOSURE_TIMES = 3;
51 constexpr
auto O3D_ILLU_TEMP_VALUES = 1;
54 using O3DInstrinsicCalibration =
55 ArrayDeserialize<float, O3D_NUMBER_OF_INTRINSIC_CALIBRATION_PARAM>;
56 using O3DInverseInstrinsicCalibration =
57 ArrayDeserialize<float, O3D_NUMBER_OF_INVERSE_INTRINSIC_CALIBRATION_PARAM>;
58 using O3DExtrinsicCalibration =
59 ArrayDeserialize<float, O3D_NUMBER_OF_EXTRINSIC_PARAM>;
60 using O3DExposureTimes =
61 ArrayDeserialize<uint32_t, O3D_NUMBER_OF_EXPOSURE_TIMES>;
62 using O3DILLUTemperature = ArrayDeserialize<float, O3D_ILLU_TEMP_VALUES>;
66 #endif // IFM3D_DESERIALIZE_O3D_BUFFERS_HPP