Protocol.hh
Go to the documentation of this file.
1 
37 #ifndef LibMultiSense_details_wire_protocol
38 #define LibMultiSense_details_wire_protocol
39 
40 #include <stdint.h>
41 
42 #include "../utility/Portability.hh"
43 
44 // Expose some configuration constants to the preprocessor (at least until C++17)
45 #ifndef MULTISENSE_WIRE_BITS_PER_PIXEL
46 #define MULTISENSE_WIRE_BITS_PER_PIXEL (12)
47 #endif
48 
49 #ifndef MULTISENSE_API_BITS_PER_PIXEL
50 #define MULTISENSE_API_BITS_PER_PIXEL (16)
51 #endif
52 
53 namespace crl {
54 namespace multisense {
55 namespace details {
56 namespace wire {
57 
58 //
59 // Some message headers are directly used by sensor firmware
60 
61 #ifdef SENSORPOD_FIRMWARE
62 #define WIRE_HEADER_ATTRIBS_ __attribute__ ((__packed__))
63 #else
64 #define WIRE_HEADER_ATTRIBS_
65 #endif // SENSORPOD_FIRMWARE
66 
67 //
68 // The size of the combined headers
69 
71 
72 //
73 // The magic number and version
74 
75 static CRL_CONSTEXPR uint16_t HEADER_MAGIC = 0xadad;
76 static CRL_CONSTEXPR uint16_t HEADER_VERSION = 0x0100;
77 
78 //
79 // The protocol group (TODO: define CRL-wide)
80 
81 static CRL_CONSTEXPR uint16_t HEADER_GROUP = 0x0001;
82 
83 //
84 // The packet header structure
85 
86 #if defined (_MSC_VER)
87 #pragma pack(push, 1)
88 typedef struct {
89 #else
90 typedef struct __attribute__ ((__packed__)) {
91 #endif
92  //
93  // The magic number
94 
95  uint16_t magic;
96 
97  //
98  // The protocol version
99 
100  uint16_t version;
101 
102  //
103  // The protocol group
104 
105  uint16_t group;
106 
107  //
108  // Protocol flags
109 
110  uint16_t flags;
111 
112  //
113  // The message sequence identifier
114 
115  uint16_t sequenceIdentifier;
116 
117  //
118  // The total size of the message
119 
120  uint32_t messageLength;
121 
122  //
123  // Offset of this packet's payload
124 
125  uint32_t byteOffset;
126 
128 #if defined (_MSC_VER)
129 #pragma pack(pop)
130 #endif
131 
132 //
133 // Types for message IDs and versions
134 
135 typedef uint16_t IdType;
136 typedef uint16_t VersionType;
137 
138 //
139 // Every command responsds with an ID_ACK message,
140 // regardless if a data message is also following.
141 
142 //
143 // TODO: this message set is still awkward in places:
144 // - Missing 1:1 get/set
145 // - Some "Data" messages are also commands
146 // - Duplicated information (CAM_GET_CONFIG, SYS_GET_CAMERA_CAL, etc.)
147 
148 //
149 // [N]acks
150 
151 static CRL_CONSTEXPR IdType ID_ACK = 0x0001;
152 
153 //
154 // Commands
155 
156 static CRL_CONSTEXPR IdType ID_CMD_GET_VERSION = 0x0002;
157 static CRL_CONSTEXPR IdType ID_CMD_GET_STATUS = 0x0003;
158 static CRL_CONSTEXPR IdType ID_CMD_CAM_GET_CONFIG = 0x0004;
159 static CRL_CONSTEXPR IdType ID_CMD_CAM_CONTROL = 0x0007;
160 static CRL_CONSTEXPR IdType ID_CMD_CAM_GET_HISTORY = 0x0008;
161 static CRL_CONSTEXPR IdType ID_CMD_CAM_SET_HDR = 0x000b;
163 static CRL_CONSTEXPR IdType ID_CMD_LIDAR_GET_CONFIG = 0x000d;
164 static CRL_CONSTEXPR IdType ID_CMD_LIDAR_SET_MOTOR = 0x0010;
165 static CRL_CONSTEXPR IdType ID_CMD_LED_GET_STATUS = 0x0012;
166 static CRL_CONSTEXPR IdType ID_CMD_LED_SET = 0x0013;
167 static CRL_CONSTEXPR IdType ID_CMD_SYS_MTU = 0x0014;
168 static CRL_CONSTEXPR IdType ID_CMD_SYS_FLASH_OP = 0x0015;
169 static CRL_CONSTEXPR IdType ID_CMD_SYS_SET_NETWORK = 0x0016;
173 static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_MTU = 0x001a;
174 static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_NETWORK = 0x001b;
175 static CRL_CONSTEXPR IdType ID_CMD_STREAM_CONTROL = 0x001c;
178 static CRL_CONSTEXPR IdType ID_CMD_IMU_GET_INFO = 0x001f;
179 static CRL_CONSTEXPR IdType ID_CMD_IMU_GET_CONFIG = 0x0020;
180 static CRL_CONSTEXPR IdType ID_CMD_SYS_TEST_MTU = 0x0021;
187 static CRL_CONSTEXPR IdType ID_CMD_SYS_MOTOR_POLL = 0x0028;
188 static CRL_CONSTEXPR IdType ID_CMD_SYS_SET_PTP = 0x0029;
189 static CRL_CONSTEXPR IdType ID_CMD_CAM_AUX_CONTROL = 0x002a;
193 
194 //
195 // Data
196 
197 static CRL_CONSTEXPR IdType ID_DATA_VERSION = 0x0102;
198 static CRL_CONSTEXPR IdType ID_DATA_STATUS = 0x0103;
199 static CRL_CONSTEXPR IdType ID_DATA_CAM_CONFIG = 0x0104;
200 static CRL_CONSTEXPR IdType ID_DATA_CAM_HISTORY = 0x0105;
201 static CRL_CONSTEXPR IdType ID_DATA_LIDAR_CONFIG = 0x0108;
202 static CRL_CONSTEXPR IdType ID_DATA_LIDAR_SCAN = 0x0109;
203 static CRL_CONSTEXPR IdType ID_DATA_LED_STATUS = 0x010a;
205 static CRL_CONSTEXPR IdType ID_DATA_SYS_DEVICE_INFO = 0x010c;
206 static CRL_CONSTEXPR IdType ID_DATA_SYS_CAMERA_CAL = 0x010d;
207 static CRL_CONSTEXPR IdType ID_DATA_SYS_LIDAR_CAL = 0x010e;
208 static CRL_CONSTEXPR IdType ID_DATA_IMAGE_META = 0x010f;
209 static CRL_CONSTEXPR IdType ID_DATA_IMAGE = 0x0110;
210 static CRL_CONSTEXPR IdType ID_DATA_DISPARITY = 0x0111;
212 static CRL_CONSTEXPR IdType ID_DATA_SYS_PPS = 0x0113;
213 static CRL_CONSTEXPR IdType ID_DATA_IMU = 0x0114;
214 static CRL_CONSTEXPR IdType ID_DATA_IMU_INFO = 0x0115;
215 static CRL_CONSTEXPR IdType ID_DATA_IMU_CONFIG = 0x0116;
217 static CRL_CONSTEXPR IdType ID_DATA_JPEG_IMAGE = 0x0118;
219 static CRL_CONSTEXPR IdType ID_DATA_SYS_SENSOR_CAL = 0x011a;
222 static CRL_CONSTEXPR IdType ID_DATA_SYS_MOTOR_POLL = 0x011d;
223 static CRL_CONSTEXPR IdType ID_DATA_EXPOSURE_CONFIG = 0x011e;
229 static CRL_CONSTEXPR IdType ID_DATA_CAM_AUX_CONFIG = 0x0124;
231 
232 //
233 // Data sources
234 
235 typedef uint32_t SourceType;
236 
237 static CRL_CONSTEXPR SourceType SOURCE_UNKNOWN = 0;
238 static CRL_CONSTEXPR SourceType SOURCE_RAW_LEFT = (1U<<0);
239 static CRL_CONSTEXPR SourceType SOURCE_RAW_RIGHT = (1U<<1);
240 static CRL_CONSTEXPR SourceType SOURCE_LUMA_LEFT = (1U<<2);
241 static CRL_CONSTEXPR SourceType SOURCE_LUMA_RIGHT = (1U<<3);
242 static CRL_CONSTEXPR SourceType SOURCE_LUMA_RECT_LEFT = (1U<<4);
243 static CRL_CONSTEXPR SourceType SOURCE_LUMA_RECT_RIGHT = (1U<<5);
244 static CRL_CONSTEXPR SourceType SOURCE_CHROMA_LEFT = (1U<<6);
245 static CRL_CONSTEXPR SourceType SOURCE_CHROMA_RIGHT = (1U<<7);
246 static CRL_CONSTEXPR SourceType SOURCE_CHROMA_RECT_AUX = (1U<<8);
247 static CRL_CONSTEXPR SourceType SOURCE_DISPARITY = (1U<<10);
248 static CRL_CONSTEXPR SourceType SOURCE_DISPARITY_LEFT = (1U<<10); // same as SOURCE_DISPARITY
249 static CRL_CONSTEXPR SourceType SOURCE_DISPARITY_RIGHT = (1U<<11);
250 static CRL_CONSTEXPR SourceType SOURCE_DISPARITY_COST = (1U<<12);
251 static CRL_CONSTEXPR SourceType SOURCE_JPEG_LEFT = (1U<<16);
252 static CRL_CONSTEXPR SourceType SOURCE_RGB_LEFT = (1U<<17);
255 static CRL_CONSTEXPR SourceType SOURCE_APRILTAG_DETECTIONS = (1U<<21);
256 static CRL_CONSTEXPR SourceType SOURCE_SLB_MOTOR = (1U<<23);
257 static CRL_CONSTEXPR SourceType SOURCE_LIDAR_SCAN = (1U<<24);
258 static CRL_CONSTEXPR SourceType SOURCE_IMU = (1U<<25);
259 static CRL_CONSTEXPR SourceType SOURCE_PPS = (1U<<26);
260 static CRL_CONSTEXPR SourceType SOURCE_RAW_AUX = (1U<<27);
261 static CRL_CONSTEXPR SourceType SOURCE_LUMA_AUX = (1U<<28);
262 static CRL_CONSTEXPR SourceType SOURCE_LUMA_RECT_AUX = (1U<<29);
263 static CRL_CONSTEXPR SourceType SOURCE_CHROMA_AUX = (1U<<30);
264 static CRL_CONSTEXPR SourceType SOURCE_DISPARITY_AUX = (1U<<31);
265 static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_LEFT = (1U<<9);
266 static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_RIGHT = (1U<<13);
267 static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_AUX = (1U<<14);
268 static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_RECTIFIED_LEFT = (1U<<15);
269 static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_RECTIFIED_RIGHT = (1U<<16); // same as SOURCE_JPEG_LEFT
270 static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_RECTIFIED_AUX = (1U<<17); // same as SOURCE_RGB_LEFT
271 
272 static CRL_CONSTEXPR SourceType SOURCE_IMAGES = (SOURCE_RAW_LEFT |
273  SOURCE_RAW_RIGHT |
274  SOURCE_RAW_AUX |
275  SOURCE_LUMA_LEFT |
276  SOURCE_LUMA_RIGHT |
277  SOURCE_LUMA_AUX |
278  SOURCE_LUMA_RECT_LEFT |
279  SOURCE_LUMA_RECT_RIGHT |
280  SOURCE_LUMA_RECT_AUX |
281  SOURCE_CHROMA_LEFT |
282  SOURCE_CHROMA_RIGHT |
283  SOURCE_CHROMA_AUX |
284  SOURCE_CHROMA_RECT_AUX |
285  SOURCE_DISPARITY_LEFT |
286  SOURCE_DISPARITY_RIGHT |
287  SOURCE_DISPARITY_COST |
288  SOURCE_DISPARITY_AUX |
289  SOURCE_JPEG_LEFT |
290  SOURCE_RGB_LEFT |
291  SOURCE_GROUND_SURFACE_CLASS_IMAGE|
292  SOURCE_APRILTAG_DETECTIONS |
293  SOURCE_COMPRESSED_LEFT |
294  SOURCE_COMPRESSED_RIGHT |
295  SOURCE_COMPRESSED_AUX |
296  SOURCE_COMPRESSED_RECTIFIED_LEFT |
297  SOURCE_COMPRESSED_RECTIFIED_RIGHT|
299  );
300 
301 //
302 // Exposure config
303 
306 static CRL_CONSTEXPR float Default_Gamma = 2.0f;
307 static CRL_CONSTEXPR float Default_Gain = 1.0f;
308 //
309 // Some helper macros
310 
311 #define MSG_ID(x) ((wire::IdType)(x))
312 #define MSG_VER(x) ((wire::VersionType)(x))
313 
314 #define SER_ARRAY_1(a_,n_) \
315  for(uint32_t i_=0; i_<(n_); i_++) \
316  message & (a_)[i_]; \
317 
318 #define SER_ARRAY_2(a_,n_,m_) \
319  for(uint32_t i_=0; i_<(n_); i_++) \
320  for(uint32_t j_=0; j_<(m_); j_++) \
321  message & (a_)[(i_)][(j_)]; \
322 
323 #define CPY_ARRAY_1(d_,s_,n_) \
324  for(uint32_t i_=0; i_<(n_); i_++) \
325  (d_)[i_] = (s_)[i_]; \
326 
327 #define CPY_ARRAY_2(d_,s_,n_,m_) \
328  for(uint32_t i_=0; i_<(n_); i_++) \
329  for(uint32_t j_=0; j_<(m_); j_++) \
330  (d_)[i_][j_] = (s_)[i_][j_]; \
331 
332 }}}} // namespaces
333 
334 #endif
static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_CAMERA_CAL
Definition: Protocol.hh:171
static CRL_CONSTEXPR IdType ID_CMD_CAM_GET_HISTORY
Definition: Protocol.hh:160
static CRL_CONSTEXPR IdType ID_DATA_LED_STATUS
Definition: Protocol.hh:203
static CRL_CONSTEXPR IdType ID_CMD_STREAM_CONTROL
Definition: Protocol.hh:175
static CRL_CONSTEXPR SourceType SOURCE_LUMA_RECT_AUX
Definition: Protocol.hh:262
static CRL_CONSTEXPR IdType ID_DATA_SYS_GROUND_SURFACE_PARAM
Definition: Protocol.hh:226
static CRL_CONSTEXPR SourceType SOURCE_LUMA_AUX
Definition: Protocol.hh:261
static CRL_CONSTEXPR IdType ID_DATA_APRILTAG_DETECTIONS_MESSAGE
Definition: Protocol.hh:227
static CRL_CONSTEXPR SourceType SOURCE_DISPARITY
Definition: Protocol.hh:247
struct __attribute__((__packed__))
Definition: Protocol.hh:90
static CRL_CONSTEXPR SourceType SOURCE_SLB_MOTOR
Definition: Protocol.hh:256
static CRL_CONSTEXPR SourceType SOURCE_RAW_AUX
Definition: Protocol.hh:260
static CRL_CONSTEXPR IdType ID_DATA_GROUND_SURFACE_SPLINE_DATA_MESSAGE
Definition: Protocol.hh:224
static CRL_CONSTEXPR IdType ID_CMD_LIDAR_SET_MOTOR
Definition: Protocol.hh:164
static CRL_CONSTEXPR IdType ID_CMD_CAM_CONTROL
Definition: Protocol.hh:159
static CRL_CONSTEXPR SourceType SOURCE_DISPARITY_AUX
Definition: Protocol.hh:264
static CRL_CONSTEXPR SourceType SOURCE_GROUND_SURFACE_SPLINE_DATA
Definition: Protocol.hh:253
static CRL_CONSTEXPR IdType ID_DATA_SYS_TEST_MTU_RESPONSE
Definition: Protocol.hh:216
static CRL_CONSTEXPR SourceType SOURCE_CHROMA_RECT_AUX
Definition: Protocol.hh:246
static CRL_CONSTEXPR IdType ID_DATA_IMAGE
Definition: Protocol.hh:209
static CRL_CONSTEXPR SourceType Default_Exposure_Source
Definition: Protocol.hh:304
static CRL_CONSTEXPR IdType ID_CMD_SYS_SET_TRANSMIT_DELAY
Definition: Protocol.hh:185
static CRL_CONSTEXPR SourceType SOURCE_DISPARITY_RIGHT
Definition: Protocol.hh:249
static CRL_CONSTEXPR IdType ID_DATA_IMU
Definition: Protocol.hh:213
static CRL_CONSTEXPR IdType ID_DATA_CAM_AUX_CONFIG
Definition: Protocol.hh:229
static CRL_CONSTEXPR IdType ID_CMD_IMU_GET_INFO
Definition: Protocol.hh:178
static CRL_CONSTEXPR IdType ID_CMD_REMOTE_HEAD_GET_CONFIG
Definition: Protocol.hh:191
static CRL_CONSTEXPR SourceType SOURCE_GROUND_SURFACE_CLASS_IMAGE
Definition: Protocol.hh:254
static CRL_CONSTEXPR IdType ID_CMD_LED_GET_SENSOR_STATUS
Definition: Protocol.hh:184
static CRL_CONSTEXPR IdType ID_DATA_STATUS
Definition: Protocol.hh:198
static CRL_CONSTEXPR IdType ID_DATA_SYS_EXTERNAL_CAL
Definition: Protocol.hh:220
static CRL_CONSTEXPR IdType ID_DATA_SYS_DIRECTED_STREAMS
Definition: Protocol.hh:218
static CRL_CONSTEXPR SourceType SOURCE_IMAGES
Definition: Protocol.hh:272
static CRL_CONSTEXPR IdType ID_DATA_IMU_INFO
Definition: Protocol.hh:214
static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_LIDAR_CAL
Definition: Protocol.hh:172
static CRL_CONSTEXPR IdType ID_DATA_SYS_SENSOR_CAL
Definition: Protocol.hh:219
static CRL_CONSTEXPR SourceType SOURCE_APRILTAG_DETECTIONS
Definition: Protocol.hh:255
static CRL_CONSTEXPR uint8_t COMBINED_HEADER_LENGTH
Definition: Protocol.hh:70
static CRL_CONSTEXPR SourceType SOURCE_LUMA_LEFT
Definition: Protocol.hh:240
static CRL_CONSTEXPR IdType ID_CMD_GET_STATUS
Definition: Protocol.hh:157
static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_SENSOR_CAL
Definition: Protocol.hh:182
static CRL_CONSTEXPR IdType ID_CMD_SYS_MOTOR_POLL
Definition: Protocol.hh:187
static CRL_CONSTEXPR SourceType SOURCE_DISPARITY_LEFT
Definition: Protocol.hh:248
static CRL_CONSTEXPR IdType ID_DATA_CAM_HISTORY
Definition: Protocol.hh:200
static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_DIRECTED_STREAMS
Definition: Protocol.hh:181
static CRL_CONSTEXPR IdType ID_DATA_SYS_DEVICE_INFO
Definition: Protocol.hh:205
static CRL_CONSTEXPR uint16_t HEADER_VERSION
Definition: Protocol.hh:76
static CRL_CONSTEXPR IdType ID_DATA_DISPARITY
Definition: Protocol.hh:210
static CRL_CONSTEXPR IdType ID_CMD_CAM_GET_CONFIG
Definition: Protocol.hh:158
static CRL_CONSTEXPR SourceType SOURCE_CHROMA_RIGHT
Definition: Protocol.hh:245
static CRL_CONSTEXPR IdType ID_CMD_CAM_SET_HDR
Definition: Protocol.hh:161
static CRL_CONSTEXPR IdType ID_DATA_LED_SENSOR_STATUS
Definition: Protocol.hh:221
static CRL_CONSTEXPR IdType ID_CMD_LIDAR_GET_CONFIG
Definition: Protocol.hh:163
static CRL_CONSTEXPR SourceType SOURCE_LUMA_RECT_RIGHT
Definition: Protocol.hh:243
static CRL_CONSTEXPR IdType ID_CMD_CAM_AUX_CONTROL
Definition: Protocol.hh:189
static CRL_CONSTEXPR IdType ID_DATA_JPEG_IMAGE
Definition: Protocol.hh:217
static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_RIGHT
Definition: Protocol.hh:266
static CRL_CONSTEXPR IdType ID_CMD_REMOTE_HEAD_CONTROL
Definition: Protocol.hh:192
static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_EXTERNAL_CAL
Definition: Protocol.hh:183
static CRL_CONSTEXPR IdType ID_DATA_EXPOSURE_CONFIG
Definition: Protocol.hh:223
static CRL_CONSTEXPR IdType ID_DATA_CAM_CONFIG
Definition: Protocol.hh:199
static CRL_CONSTEXPR IdType ID_DATA_VERSION
Definition: Protocol.hh:197
Definition: channel.cc:58
static CRL_CONSTEXPR IdType ID_CMD_SYS_FLASH_OP
Definition: Protocol.hh:168
static CRL_CONSTEXPR IdType ID_DATA_IMU_CONFIG
Definition: Protocol.hh:215
static CRL_CONSTEXPR SourceType SOURCE_CHROMA_LEFT
Definition: Protocol.hh:244
static CRL_CONSTEXPR SourceType SOURCE_UNKNOWN
Definition: Protocol.hh:237
static CRL_CONSTEXPR IdType ID_CMD_REMOTE_HEAD_CONFIG
Definition: Protocol.hh:230
static CRL_CONSTEXPR SourceType SOURCE_RAW_RIGHT
Definition: Protocol.hh:239
static CRL_CONSTEXPR IdType ID_DATA_SYS_MOTOR_POLL
Definition: Protocol.hh:222
static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_AUX
Definition: Protocol.hh:267
static CRL_CONSTEXPR IdType ID_DATA_IMAGE_META
Definition: Protocol.hh:208
static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_DEVICE_MODES
Definition: Protocol.hh:176
static CRL_CONSTEXPR IdType ID_CMD_GET_VERSION
Definition: Protocol.hh:156
static CRL_CONSTEXPR SourceType SOURCE_IMU
Definition: Protocol.hh:258
static CRL_CONSTEXPR IdType ID_CMD_CAM_GET_AUX_CONFIG
Definition: Protocol.hh:190
static CRL_CONSTEXPR IdType ID_CMD_LED_GET_STATUS
Definition: Protocol.hh:165
static CRL_CONSTEXPR IdType ID_DATA_SYS_DEVICE_MODES
Definition: Protocol.hh:211
static CRL_CONSTEXPR SourceType SOURCE_LUMA_RECT_LEFT
Definition: Protocol.hh:242
static CRL_CONSTEXPR float Default_Target_Intensity
Definition: Protocol.hh:305
static CRL_CONSTEXPR uint16_t HEADER_MAGIC
Definition: Protocol.hh:75
static CRL_CONSTEXPR SourceType SOURCE_DISPARITY_COST
Definition: Protocol.hh:250
static CRL_CONSTEXPR IdType ID_CMD_CAM_SET_RESOLUTION
Definition: Protocol.hh:162
static CRL_CONSTEXPR IdType ID_DATA_SYS_PPS
Definition: Protocol.hh:212
static CRL_CONSTEXPR SourceType SOURCE_RGB_LEFT
Definition: Protocol.hh:252
static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_NETWORK
Definition: Protocol.hh:174
static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_MTU
Definition: Protocol.hh:173
static CRL_CONSTEXPR IdType ID_DATA_COMPRESSED_IMAGE
Definition: Protocol.hh:225
static CRL_CONSTEXPR IdType ID_ACK
Definition: Protocol.hh:151
static CRL_CONSTEXPR IdType ID_CMD_CAM_SET_TRIGGER_SOURCE
Definition: Protocol.hh:177
static CRL_CONSTEXPR IdType ID_DATA_SYS_CAMERA_CAL
Definition: Protocol.hh:206
static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_RECTIFIED_LEFT
Definition: Protocol.hh:268
static CRL_CONSTEXPR IdType ID_CMD_LED_SET
Definition: Protocol.hh:166
static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_LEFT
Definition: Protocol.hh:265
static CRL_CONSTEXPR uint16_t HEADER_GROUP
Definition: Protocol.hh:81
static CRL_CONSTEXPR float Default_Gain
Definition: Protocol.hh:307
static CRL_CONSTEXPR IdType ID_DATA_LIDAR_SCAN
Definition: Protocol.hh:202
static CRL_CONSTEXPR IdType ID_CMD_SYS_TEST_MTU
Definition: Protocol.hh:180
static CRL_CONSTEXPR SourceType SOURCE_RAW_LEFT
Definition: Protocol.hh:238
static CRL_CONSTEXPR float Default_Gamma
Definition: Protocol.hh:306
static CRL_CONSTEXPR SourceType SOURCE_LIDAR_SCAN
Definition: Protocol.hh:257
static CRL_CONSTEXPR SourceType SOURCE_PPS
Definition: Protocol.hh:259
static CRL_CONSTEXPR SourceType SOURCE_LUMA_RIGHT
Definition: Protocol.hh:241
static CRL_CONSTEXPR IdType ID_CMD_IMU_GET_CONFIG
Definition: Protocol.hh:179
static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_DEVICE_INFO
Definition: Protocol.hh:170
static CRL_CONSTEXPR IdType ID_DATA_LIDAR_CONFIG
Definition: Protocol.hh:201
static CRL_CONSTEXPR IdType ID_DATA_SYS_APRILTAG_PARAM
Definition: Protocol.hh:228
static CRL_CONSTEXPR IdType ID_DATA_SYS_LIDAR_CAL
Definition: Protocol.hh:207
static CRL_CONSTEXPR IdType ID_DATA_SYS_FLASH_RESPONSE
Definition: Protocol.hh:204
static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_RECTIFIED_RIGHT
Definition: Protocol.hh:269
static CRL_CONSTEXPR IdType ID_CMD_SYS_MTU
Definition: Protocol.hh:167
#define CRL_CONSTEXPR
Definition: Portability.hh:49
static CRL_CONSTEXPR SourceType SOURCE_JPEG_LEFT
Definition: Protocol.hh:251
static CRL_CONSTEXPR SourceType SOURCE_COMPRESSED_RECTIFIED_AUX
Definition: Protocol.hh:270
static CRL_CONSTEXPR IdType ID_CMD_SYS_GET_TRANSMIT_DELAY
Definition: Protocol.hh:186
static CRL_CONSTEXPR SourceType SOURCE_CHROMA_AUX
Definition: Protocol.hh:263
static CRL_CONSTEXPR IdType ID_CMD_SYS_SET_PTP
Definition: Protocol.hh:188
static CRL_CONSTEXPR IdType ID_CMD_SYS_SET_NETWORK
Definition: Protocol.hh:169


multisense_lib
Author(s):
autogenerated on Sat Jun 24 2023 03:01:21