LibMultiSense
LibMultiSense Documentation
Loading...
Searching...
No Matches
AuxCamControlMessage.hh
Go to the documentation of this file.
1
39#ifndef LibMultiSense_AuxCamControlMessage
40#define LibMultiSense_AuxCamControlMessage
41
44#include "wire/Protocol.hh"
45
46namespace crl {
47namespace multisense {
48namespace details {
49namespace wire {
50
52public:
55
56 //
57 // Parameters representing the current camera configuration
58
59 float gain;
60
61 uint32_t exposure;
62 uint8_t autoExposure;
66
72
74
79
80 uint32_t cameraProfile;
81
83 float gamma;
84
88
89 float gainMax;
90
91
92 //
93 // Constructors
94
97
98 //
99 // Serialization routine
100
101 template<class Archive>
102 void serialize(Archive& message,
103 const VersionType version)
104 {
105 (void) version;
106
107 message & gain;
108
109 message & exposure;
110 message & autoExposure;
111 message & autoExposureMax;
112 message & autoExposureDecay;
113 message & autoExposureThresh;
114
115 message & whiteBalanceRed;
116 message & whiteBalanceBlue;
117 message & autoWhiteBalance;
118 message & autoWhiteBalanceDecay;
119 message & autoWhiteBalanceThresh;
120
121 message & hdrEnabled;
122
123 message & autoExposureRoiX;
124 message & autoExposureRoiY;
125 message & autoExposureRoiWidth;
126 message & autoExposureRoiHeight;
127
128 message & cameraProfile;
129
131 message & gamma;
132
133 message & sharpeningEnable;
134 message & sharpeningPercentage;
135 message & sharpeningLimit;
136
137 //
138 // version 2 additions
139 if (version >= 2)
140 {
141 message & gainMax;
142 }
143 else
144 {
146 }
147
148 }
149};
150
151}}}} // namespaces
152
153#endif
Copyright 2021-2025 Carnegie Robotics, LLC 4501 Hatfield Street, Pittsburgh, PA 15201 https://www....
Macros and symbols to help portability between different compiler versions.
#define CRL_CONSTEXPR
Copyright 2013-2025 Carnegie Robotics, LLC 4501 Hatfield Street, Pittsburgh, PA 15201 http://www....
AuxCamControl(utility::BufferStreamReader &r, VersionType v)
void serialize(Archive &message, const VersionType version)
static CRL_CONSTEXPR IdType ID_CMD_CAM_AUX_CONTROL
Definition Protocol.hh:190
static CRL_CONSTEXPR float WIRE_IMAGER_GAIN_MAX
Definition Protocol.hh:339