LibMultiSense
LibMultiSense Documentation
Loading...
Searching...
No Matches
AuxCamConfigMessage.hh
Go to the documentation of this file.
1
39#ifndef LibMultiSense_AuxCamConfigMessage
40#define LibMultiSense_AuxCamConfigMessage
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 uint16_t width;
60 uint16_t height;
62 float gain;
63
64 uint32_t exposure;
65 uint8_t autoExposure;
69
75
76 float fx, fy;
77 float cx, cy;
78
80
85
86 uint32_t cameraProfile;
87
89 float gamma;
90
94
95 float gainMax;
96
97 //
98 // Constructors
99
130
131 //
132 // Serialization routine
133
134 template<class Archive>
135 void serialize(Archive& message,
136 const VersionType version)
137 {
138 (void) version;
139
140 message & framesPerSecond;
141 message & gain;
142
143 message & exposure;
144 message & autoExposure;
145 message & autoExposureMax;
146 message & autoExposureDecay;
147 message & autoExposureThresh;
148
149 message & whiteBalanceRed;
150 message & whiteBalanceBlue;
151 message & autoWhiteBalance;
152 message & autoWhiteBalanceDecay;
153 message & autoWhiteBalanceThresh;
154
155 message & fx;
156 message & fy;
157 message & cx;
158 message & cy;
159
160 message & hdrEnabled;
161
162 message & autoExposureRoiX;
163 message & autoExposureRoiY;
164 message & autoExposureRoiWidth;
165 message & autoExposureRoiHeight;
166 message & cameraProfile;
167
169 message & gamma;
170
171 message & sharpeningEnable;
172 message & sharpeningPercentage;
173 message & sharpeningLimit;
174
175 //
176 // version 2 additions
177 if (version >= 2)
178 {
179 message & gainMax;
180 }
181 else
182 {
184 }
185
186 }
187};
188
189}}}} // namespaces
190
191#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....
void serialize(Archive &message, const VersionType version)
AuxCamConfig(utility::BufferStreamReader &r, VersionType v)
static CRL_CONSTEXPR IdType ID_DATA_CAM_AUX_CONFIG
Definition Protocol.hh:237
static CRL_CONSTEXPR float Default_Target_Intensity
Definition Protocol.hh:333
static CRL_CONSTEXPR float WIRE_IMAGER_GAIN_MAX
Definition Protocol.hh:339
static CRL_CONSTEXPR float Default_Gamma
Definition Protocol.hh:334