gusimplewhiteboard
guwhiteboarddeserialiser.c
Go to the documentation of this file.
1
11#pragma clang diagnostic push
12#pragma clang diagnostic ignored "-Wunused-macros"
13#pragma clang diagnostic ignored "-Wcast-qual"
14#pragma clang diagnostic ignored "-Wshorten-64-to-32"
15#pragma clang diagnostic ignored "-Wunreachable-code-break"
16
17#ifndef WB_GUWHITEBOARDDESERIALISER_C
18#define WB_GUWHITEBOARDDESERIALISER_C
19
20#define WHITEBOARD_DESERIALISER
21
22#define DECOMPRESSION_CALL(...) _from_network_serialised(__VA_ARGS__);
23#define DECOMPRESSION_FUNC_(s, p) s ## p
24#define DECOMPRESSION_FUNC(s, p) DECOMPRESSION_FUNC_(s, p)
25#define DESERIALISE(_struct, ...) DECOMPRESSION_FUNC(_struct, DECOMPRESSION_CALL(__VA_ARGS__))
26
29
30int32_t deserialisemsg(wb_types message_index, const void *serialised_in, void *message_out)
31{
32 switch (message_index)
33 {
34
36 {
37 return -1; /*TODO, add support for POD types.*/
38 break;
39 }
40 case kwb_Print_v:
41 {
42 return -1; /*TODO, add support for POD types.*/
43 break;
44 }
45 case kwb_Say_v:
46 {
47 return -1; /*TODO, add support for POD types.*/
48 break;
49 }
50 case kwb_Speech_v:
51 {
52 return -1; /*TODO, add support for POD types.*/
53 break;
54 }
55 case kwb_QSay_v:
56 {
57 return -1; /*TODO, add support for POD types.*/
58 break;
59 }
60 case kwb_QSpeech_v:
61 {
62 return -1; /*TODO, add support for POD types.*/
63 break;
64 }
66 {
67 return -1; /*TODO, add support for POD types.*/
68 break;
69 }
71 {
72#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(GCGAMESTATE_GENERATED) // GCGAMESTATE_GENERATED is legacy, don't use
73#ifdef NotSupportedWithLegacyNaming
74#define GCGAMESTATE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
75#else
76#define GCGAMESTATE_C_STRUCT_NAME_COMPAT GCGAMESTATE_C_STRUCT
77#endif
78 return DESERIALISE(GCGAMESTATE_C_STRUCT_NAME_COMPAT, serialised_in, (struct GCGAMESTATE_C_STRUCT_NAME_COMPAT *)message_out)
79#undef GCGAMESTATE_C_STRUCT_NAME_COMPAT
80#else
81 return -1;
82#endif //SerialisationNotSupportedWithLegacyNaming
83 break;
84 }
86 {
87#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSHANDSENSORS_GENERATED) // SENSORSHANDSENSORS_GENERATED is legacy, don't use
88#ifdef NotSupportedWithLegacyNaming
89#define SENSORSHANDSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
90#else
91#define SENSORSHANDSENSORS_C_STRUCT_NAME_COMPAT SENSORSHANDSENSORS_C_STRUCT
92#endif
93 return DESERIALISE(SENSORSHANDSENSORS_C_STRUCT_NAME_COMPAT, serialised_in, (struct SENSORSHANDSENSORS_C_STRUCT_NAME_COMPAT *)message_out)
94#undef SENSORSHANDSENSORS_C_STRUCT_NAME_COMPAT
95#else
96 return -1;
97#endif //SerialisationNotSupportedWithLegacyNaming
98 break;
99 }
101 {
102#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSHEADSENSORS_GENERATED) // SENSORSHEADSENSORS_GENERATED is legacy, don't use
103#ifdef NotSupportedWithLegacyNaming
104#define SENSORSHEADSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
105#else
106#define SENSORSHEADSENSORS_C_STRUCT_NAME_COMPAT SENSORSHEADSENSORS_C_STRUCT
107#endif
108 return DESERIALISE(SENSORSHEADSENSORS_C_STRUCT_NAME_COMPAT, serialised_in, (struct SENSORSHEADSENSORS_C_STRUCT_NAME_COMPAT *)message_out)
109#undef SENSORSHEADSENSORS_C_STRUCT_NAME_COMPAT
110#else
111 return -1;
112#endif //SerialisationNotSupportedWithLegacyNaming
113 break;
114 }
116 {
117#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(MOTION_COMMANDS_GENERATED) // MOTION_COMMANDS_GENERATED is legacy, don't use
118#ifdef NotSupportedWithLegacyNaming
119#define MOTION_COMMANDS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
120#else
121#define MOTION_COMMANDS_C_STRUCT_NAME_COMPAT MOTION_COMMANDS_C_STRUCT
122#endif
123 return DESERIALISE(MOTION_COMMANDS_C_STRUCT_NAME_COMPAT, serialised_in, (struct MOTION_COMMANDS_C_STRUCT_NAME_COMPAT *)message_out)
124#undef MOTION_COMMANDS_C_STRUCT_NAME_COMPAT
125#else
126 return -1;
127#endif //SerialisationNotSupportedWithLegacyNaming
128 break;
129 }
131 {
132#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(MOTION_STATUS_GENERATED) // MOTION_STATUS_GENERATED is legacy, don't use
133#ifdef NotSupportedWithLegacyNaming
134#define MOTION_STATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
135#else
136#define MOTION_STATUS_C_STRUCT_NAME_COMPAT MOTION_STATUS_C_STRUCT
137#endif
138 return DESERIALISE(MOTION_STATUS_C_STRUCT_NAME_COMPAT, serialised_in, (struct MOTION_STATUS_C_STRUCT_NAME_COMPAT *)message_out)
139#undef MOTION_STATUS_C_STRUCT_NAME_COMPAT
140#else
141 return -1;
142#endif //SerialisationNotSupportedWithLegacyNaming
143 break;
144 }
146 {
147#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HAL_HEADTARGET_GENERATED) // HAL_HEADTARGET_GENERATED is legacy, don't use
148#ifdef NotSupportedWithLegacyNaming
149#define HAL_HEADTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
150#else
151#define HAL_HEADTARGET_C_STRUCT_NAME_COMPAT HAL_HEADTARGET_C_STRUCT
152#endif
153 return DESERIALISE(HAL_HEADTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HAL_HEADTARGET_C_STRUCT_NAME_COMPAT *)message_out)
154#undef HAL_HEADTARGET_C_STRUCT_NAME_COMPAT
155#else
156 return -1;
157#endif //SerialisationNotSupportedWithLegacyNaming
158 break;
159 }
161 {
162#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSFOOTSENSORS_GENERATED) // SENSORSFOOTSENSORS_GENERATED is legacy, don't use
163#ifdef NotSupportedWithLegacyNaming
164#define SENSORSFOOTSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
165#else
166#define SENSORSFOOTSENSORS_C_STRUCT_NAME_COMPAT SENSORSFOOTSENSORS_C_STRUCT
167#endif
168 return DESERIALISE(SENSORSFOOTSENSORS_C_STRUCT_NAME_COMPAT, serialised_in, (struct SENSORSFOOTSENSORS_C_STRUCT_NAME_COMPAT *)message_out)
169#undef SENSORSFOOTSENSORS_C_STRUCT_NAME_COMPAT
170#else
171 return -1;
172#endif //SerialisationNotSupportedWithLegacyNaming
173 break;
174 }
176 {
177#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSBODYSENSORS_GENERATED) // SENSORSBODYSENSORS_GENERATED is legacy, don't use
178#ifdef NotSupportedWithLegacyNaming
179#define SENSORSBODYSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
180#else
181#define SENSORSBODYSENSORS_C_STRUCT_NAME_COMPAT SENSORSBODYSENSORS_C_STRUCT
182#endif
183 return DESERIALISE(SENSORSBODYSENSORS_C_STRUCT_NAME_COMPAT, serialised_in, (struct SENSORSBODYSENSORS_C_STRUCT_NAME_COMPAT *)message_out)
184#undef SENSORSBODYSENSORS_C_STRUCT_NAME_COMPAT
185#else
186 return -1;
187#endif //SerialisationNotSupportedWithLegacyNaming
188 break;
189 }
191 {
192#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSLEDSSENSORS_GENERATED) // SENSORSLEDSSENSORS_GENERATED is legacy, don't use
193#ifdef NotSupportedWithLegacyNaming
194#define SENSORSLEDSSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
195#else
196#define SENSORSLEDSSENSORS_C_STRUCT_NAME_COMPAT SENSORSLEDSSENSORS_C_STRUCT
197#endif
198 return DESERIALISE(SENSORSLEDSSENSORS_C_STRUCT_NAME_COMPAT, serialised_in, (struct SENSORSLEDSSENSORS_C_STRUCT_NAME_COMPAT *)message_out)
199#undef SENSORSLEDSSENSORS_C_STRUCT_NAME_COMPAT
200#else
201 return -1;
202#endif //SerialisationNotSupportedWithLegacyNaming
203 break;
204 }
206 {
207#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSLEGJOINTTEMPS_GENERATED) // SENSORSLEGJOINTTEMPS_GENERATED is legacy, don't use
208#ifdef NotSupportedWithLegacyNaming
209#define SENSORSLEGJOINTTEMPS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
210#else
211#define SENSORSLEGJOINTTEMPS_C_STRUCT_NAME_COMPAT SENSORSLEGJOINTTEMPS_C_STRUCT
212#endif
213 return DESERIALISE(SENSORSLEGJOINTTEMPS_C_STRUCT_NAME_COMPAT, serialised_in, (struct SENSORSLEGJOINTTEMPS_C_STRUCT_NAME_COMPAT *)message_out)
214#undef SENSORSLEGJOINTTEMPS_C_STRUCT_NAME_COMPAT
215#else
216 return -1;
217#endif //SerialisationNotSupportedWithLegacyNaming
218 break;
219 }
221 {
222#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSTORSOJOINTTEMPS_GENERATED) // SENSORSTORSOJOINTTEMPS_GENERATED is legacy, don't use
223#ifdef NotSupportedWithLegacyNaming
224#define SENSORSTORSOJOINTTEMPS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
225#else
226#define SENSORSTORSOJOINTTEMPS_C_STRUCT_NAME_COMPAT SENSORSTORSOJOINTTEMPS_C_STRUCT
227#endif
228 return DESERIALISE(SENSORSTORSOJOINTTEMPS_C_STRUCT_NAME_COMPAT, serialised_in, (struct SENSORSTORSOJOINTTEMPS_C_STRUCT_NAME_COMPAT *)message_out)
229#undef SENSORSTORSOJOINTTEMPS_C_STRUCT_NAME_COMPAT
230#else
231 return -1;
232#endif //SerialisationNotSupportedWithLegacyNaming
233 break;
234 }
236 {
237#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSLEGJOINTSENSORS_GENERATED) // SENSORSLEGJOINTSENSORS_GENERATED is legacy, don't use
238#ifdef NotSupportedWithLegacyNaming
239#define SENSORSLEGJOINTSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
240#else
241#define SENSORSLEGJOINTSENSORS_C_STRUCT_NAME_COMPAT SENSORSLEGJOINTSENSORS_C_STRUCT
242#endif
243 return DESERIALISE(SENSORSLEGJOINTSENSORS_C_STRUCT_NAME_COMPAT, serialised_in, (struct SENSORSLEGJOINTSENSORS_C_STRUCT_NAME_COMPAT *)message_out)
244#undef SENSORSLEGJOINTSENSORS_C_STRUCT_NAME_COMPAT
245#else
246 return -1;
247#endif //SerialisationNotSupportedWithLegacyNaming
248 break;
249 }
251 {
252#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSTORSOJOINTSENSORS_GENERATED) // SENSORSTORSOJOINTSENSORS_GENERATED is legacy, don't use
253#ifdef NotSupportedWithLegacyNaming
254#define SENSORSTORSOJOINTSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
255#else
256#define SENSORSTORSOJOINTSENSORS_C_STRUCT_NAME_COMPAT SENSORSTORSOJOINTSENSORS_C_STRUCT
257#endif
258 return DESERIALISE(SENSORSTORSOJOINTSENSORS_C_STRUCT_NAME_COMPAT, serialised_in, (struct SENSORSTORSOJOINTSENSORS_C_STRUCT_NAME_COMPAT *)message_out)
259#undef SENSORSTORSOJOINTSENSORS_C_STRUCT_NAME_COMPAT
260#else
261 return -1;
262#endif //SerialisationNotSupportedWithLegacyNaming
263 break;
264 }
266 {
267#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSSONARSENSORS_GENERATED) // SENSORSSONARSENSORS_GENERATED is legacy, don't use
268#ifdef NotSupportedWithLegacyNaming
269#define SENSORSSONARSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
270#else
271#define SENSORSSONARSENSORS_C_STRUCT_NAME_COMPAT SENSORSSONARSENSORS_C_STRUCT
272#endif
273 return DESERIALISE(SENSORSSONARSENSORS_C_STRUCT_NAME_COMPAT, serialised_in, (struct SENSORSSONARSENSORS_C_STRUCT_NAME_COMPAT *)message_out)
274#undef SENSORSSONARSENSORS_C_STRUCT_NAME_COMPAT
275#else
276 return -1;
277#endif //SerialisationNotSupportedWithLegacyNaming
278 break;
279 }
281 {
282#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FSMCONTROLSTATUS_GENERATED) // FSMCONTROLSTATUS_GENERATED is legacy, don't use
283#ifdef NotSupportedWithLegacyNaming
284#define FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
285#else
286#define FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT FSMCONTROLSTATUS_C_STRUCT
287#endif
288 return DESERIALISE(FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT, serialised_in, (struct FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT *)message_out)
289#undef FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT
290#else
291 return -1;
292#endif //SerialisationNotSupportedWithLegacyNaming
293 break;
294 }
295 case kwb_FSM_Status_v:
296 {
297#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FSMCONTROLSTATUS_GENERATED) // FSMCONTROLSTATUS_GENERATED is legacy, don't use
298#ifdef NotSupportedWithLegacyNaming
299#define FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
300#else
301#define FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT FSMCONTROLSTATUS_C_STRUCT
302#endif
303 return DESERIALISE(FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT, serialised_in, (struct FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT *)message_out)
304#undef FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT
305#else
306 return -1;
307#endif //SerialisationNotSupportedWithLegacyNaming
308 break;
309 }
310 case kwb_FSM_Names_v:
311 {
312#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FSMNAMES_GENERATED) // FSMNAMES_GENERATED is legacy, don't use
313#ifdef NotSupportedWithLegacyNaming
314#define FSMNAMES_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
315#else
316#define FSMNAMES_C_STRUCT_NAME_COMPAT FSMNAMES_C_STRUCT
317#endif
318 return DESERIALISE(FSMNAMES_C_STRUCT_NAME_COMPAT, serialised_in, (struct FSMNAMES_C_STRUCT_NAME_COMPAT *)message_out)
319#undef FSMNAMES_C_STRUCT_NAME_COMPAT
320#else
321 return -1;
322#endif //SerialisationNotSupportedWithLegacyNaming
323 break;
324 }
326 {
327 return -1; /*TODO, add support for POD types.*/
328 break;
329 }
331 {
332#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FILTEREDARRAYONEDIMOBJECTS_GENERATED) // FILTEREDARRAYONEDIMOBJECTS_GENERATED is legacy, don't use
333#ifdef NotSupportedWithLegacyNaming
334#define FILTEREDARRAYONEDIMOBJECTS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
335#else
336#define FILTEREDARRAYONEDIMOBJECTS_C_STRUCT_NAME_COMPAT FILTEREDARRAYONEDIMOBJECTS_C_STRUCT
337#endif
338 return DESERIALISE(FILTEREDARRAYONEDIMOBJECTS_C_STRUCT_NAME_COMPAT, serialised_in, (struct FILTEREDARRAYONEDIMOBJECTS_C_STRUCT_NAME_COMPAT *)message_out)
339#undef FILTEREDARRAYONEDIMOBJECTS_C_STRUCT_NAME_COMPAT
340#else
341 return -1;
342#endif //SerialisationNotSupportedWithLegacyNaming
343 break;
344 }
345 case kwb_NAO_State_v:
346 {
347#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NAO_STATE_GENERATED) // NAO_STATE_GENERATED is legacy, don't use
348#ifdef NotSupportedWithLegacyNaming
349#define NAO_STATE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
350#else
351#define NAO_STATE_C_STRUCT_NAME_COMPAT NAO_STATE_C_STRUCT
352#endif
353 return DESERIALISE(NAO_STATE_C_STRUCT_NAME_COMPAT, serialised_in, (struct NAO_STATE_C_STRUCT_NAME_COMPAT *)message_out)
354#undef NAO_STATE_C_STRUCT_NAME_COMPAT
355#else
356 return -1;
357#endif //SerialisationNotSupportedWithLegacyNaming
358 break;
359 }
360 case kwb_UDPRN_v:
361 {
362#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(GCGAMESTATE_GENERATED) // GCGAMESTATE_GENERATED is legacy, don't use
363#ifdef NotSupportedWithLegacyNaming
364#define GCGAMESTATE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
365#else
366#define GCGAMESTATE_C_STRUCT_NAME_COMPAT GCGAMESTATE_C_STRUCT
367#endif
368 return DESERIALISE(GCGAMESTATE_C_STRUCT_NAME_COMPAT, serialised_in, (struct GCGAMESTATE_C_STRUCT_NAME_COMPAT *)message_out)
369#undef GCGAMESTATE_C_STRUCT_NAME_COMPAT
370#else
371 return -1;
372#endif //SerialisationNotSupportedWithLegacyNaming
373 break;
374 }
376 {
377 return -1; /*TODO, add support for POD types.*/
378 break;
379 }
381 {
382 return -1; /*TODO, add support for POD types.*/
383 break;
384 }
386 {
387#if defined(WB_VISION_CONTROL_STATUS_GENERATED) || defined(VISION_CONTROL_STATUS_GENERATED) // VISION_CONTROL_STATUS_GENERATED is legacy, don't use
388#ifdef WB_VISION_CONTROL_STATUS_C_STRUCT
389#define VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT WB_VISION_CONTROL_STATUS_C_STRUCT
390#else
391#define VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT VISION_CONTROL_STATUS_C_STRUCT
392#endif
394#undef VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT
395#else
396 return -1;
397#endif //WB_VISION_CONTROL_STATUS_GENERATED
398 break;
399 }
401 {
402#if defined(WB_VISION_CONTROL_STATUS_GENERATED) || defined(VISION_CONTROL_STATUS_GENERATED) // VISION_CONTROL_STATUS_GENERATED is legacy, don't use
403#ifdef WB_VISION_CONTROL_STATUS_C_STRUCT
404#define VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT WB_VISION_CONTROL_STATUS_C_STRUCT
405#else
406#define VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT VISION_CONTROL_STATUS_C_STRUCT
407#endif
409#undef VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT
410#else
411 return -1;
412#endif //WB_VISION_CONTROL_STATUS_GENERATED
413 break;
414 }
415 case kwb_FFTStatus_v:
416 {
417#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FFTSTATUS_GENERATED) // FFTSTATUS_GENERATED is legacy, don't use
418#ifdef NotSupportedWithLegacyNaming
419#define FFTSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
420#else
421#define FFTSTATUS_C_STRUCT_NAME_COMPAT FFTSTATUS_C_STRUCT
422#endif
423 return DESERIALISE(FFTSTATUS_C_STRUCT_NAME_COMPAT, serialised_in, (struct FFTSTATUS_C_STRUCT_NAME_COMPAT *)message_out)
424#undef FFTSTATUS_C_STRUCT_NAME_COMPAT
425#else
426 return -1;
427#endif //SerialisationNotSupportedWithLegacyNaming
428 break;
429 }
431 {
432#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FILTEREDARRAYONEDIMSONAR_GENERATED) // FILTEREDARRAYONEDIMSONAR_GENERATED is legacy, don't use
433#ifdef NotSupportedWithLegacyNaming
434#define FILTEREDARRAYONEDIMSONAR_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
435#else
436#define FILTEREDARRAYONEDIMSONAR_C_STRUCT_NAME_COMPAT FILTEREDARRAYONEDIMSONAR_C_STRUCT
437#endif
438 return DESERIALISE(FILTEREDARRAYONEDIMSONAR_C_STRUCT_NAME_COMPAT, serialised_in, (struct FILTEREDARRAYONEDIMSONAR_C_STRUCT_NAME_COMPAT *)message_out)
439#undef FILTEREDARRAYONEDIMSONAR_C_STRUCT_NAME_COMPAT
440#else
441 return -1;
442#endif //SerialisationNotSupportedWithLegacyNaming
443 break;
444 }
446 {
447#if defined(WB_TOPPARTICLES_GENERATED) || defined(TOPPARTICLES_GENERATED) // TOPPARTICLES_GENERATED is legacy, don't use
448#ifdef WB_TOPPARTICLES_C_STRUCT
449#define TOPPARTICLES_C_STRUCT_NAME_COMPAT WB_TOPPARTICLES_C_STRUCT
450#else
451#define TOPPARTICLES_C_STRUCT_NAME_COMPAT TOPPARTICLES_C_STRUCT
452#endif
453 return DESERIALISE(TOPPARTICLES_C_STRUCT_NAME_COMPAT, serialised_in, (struct TOPPARTICLES_C_STRUCT_NAME_COMPAT *)message_out)
454#undef TOPPARTICLES_C_STRUCT_NAME_COMPAT
455#else
456 return -1;
457#endif //WB_TOPPARTICLES_GENERATED
458 break;
459 }
461 {
462#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FILTEREDARRAYBALLSIGHTINGS_GENERATED) // FILTEREDARRAYBALLSIGHTINGS_GENERATED is legacy, don't use
463#ifdef NotSupportedWithLegacyNaming
464#define FILTEREDARRAYBALLSIGHTINGS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
465#else
466#define FILTEREDARRAYBALLSIGHTINGS_C_STRUCT_NAME_COMPAT FILTEREDARRAYBALLSIGHTINGS_C_STRUCT
467#endif
468 return DESERIALISE(FILTEREDARRAYBALLSIGHTINGS_C_STRUCT_NAME_COMPAT, serialised_in, (struct FILTEREDARRAYBALLSIGHTINGS_C_STRUCT_NAME_COMPAT *)message_out)
469#undef FILTEREDARRAYBALLSIGHTINGS_C_STRUCT_NAME_COMPAT
470#else
471 return -1;
472#endif //SerialisationNotSupportedWithLegacyNaming
473 break;
474 }
476 {
477 return -1; /*TODO, add support for POD types.*/
478 break;
479 }
481 {
482#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_BRIDGE_GENERATED) // WEBOTS_NXT_BRIDGE_GENERATED is legacy, don't use
483#ifdef NotSupportedWithLegacyNaming
484#define WEBOTS_NXT_BRIDGE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
485#else
486#define WEBOTS_NXT_BRIDGE_C_STRUCT_NAME_COMPAT WEBOTS_NXT_BRIDGE_C_STRUCT
487#endif
488 return DESERIALISE(WEBOTS_NXT_BRIDGE_C_STRUCT_NAME_COMPAT, serialised_in, (struct WEBOTS_NXT_BRIDGE_C_STRUCT_NAME_COMPAT *)message_out)
489#undef WEBOTS_NXT_BRIDGE_C_STRUCT_NAME_COMPAT
490#else
491 return -1;
492#endif //SerialisationNotSupportedWithLegacyNaming
493 break;
494 }
496 {
497#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_ENCODERS_GENERATED) // WEBOTS_NXT_ENCODERS_GENERATED is legacy, don't use
498#ifdef NotSupportedWithLegacyNaming
499#define WEBOTS_NXT_ENCODERS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
500#else
501#define WEBOTS_NXT_ENCODERS_C_STRUCT_NAME_COMPAT WEBOTS_NXT_ENCODERS_C_STRUCT
502#endif
503 return DESERIALISE(WEBOTS_NXT_ENCODERS_C_STRUCT_NAME_COMPAT, serialised_in, (struct WEBOTS_NXT_ENCODERS_C_STRUCT_NAME_COMPAT *)message_out)
504#undef WEBOTS_NXT_ENCODERS_C_STRUCT_NAME_COMPAT
505#else
506 return -1;
507#endif //SerialisationNotSupportedWithLegacyNaming
508 break;
509 }
511 {
512#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_CAMERA_GENERATED) // WEBOTS_NXT_CAMERA_GENERATED is legacy, don't use
513#ifdef NotSupportedWithLegacyNaming
514#define WEBOTS_NXT_CAMERA_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
515#else
516#define WEBOTS_NXT_CAMERA_C_STRUCT_NAME_COMPAT WEBOTS_NXT_CAMERA_C_STRUCT
517#endif
518 return DESERIALISE(WEBOTS_NXT_CAMERA_C_STRUCT_NAME_COMPAT, serialised_in, (struct WEBOTS_NXT_CAMERA_C_STRUCT_NAME_COMPAT *)message_out)
519#undef WEBOTS_NXT_CAMERA_C_STRUCT_NAME_COMPAT
520#else
521 return -1;
522#endif //SerialisationNotSupportedWithLegacyNaming
523 break;
524 }
526 {
527#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_WALK_ISRUNNING_GENERATED) // WEBOTS_NXT_WALK_ISRUNNING_GENERATED is legacy, don't use
528#ifdef NotSupportedWithLegacyNaming
529#define WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
530#else
531#define WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT_NAME_COMPAT WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT
532#endif
533 return DESERIALISE(WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT_NAME_COMPAT, serialised_in, (struct WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT_NAME_COMPAT *)message_out)
534#undef WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT_NAME_COMPAT
535#else
536 return -1;
537#endif //SerialisationNotSupportedWithLegacyNaming
538 break;
539 }
541 {
542#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_DEADREAKONING_WALK_GENERATED) // WEBOTS_NXT_DEADREAKONING_WALK_GENERATED is legacy, don't use
543#ifdef NotSupportedWithLegacyNaming
544#define WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
545#else
546#define WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT_NAME_COMPAT WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT
547#endif
548 return DESERIALISE(WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT_NAME_COMPAT, serialised_in, (struct WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT_NAME_COMPAT *)message_out)
549#undef WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT_NAME_COMPAT
550#else
551 return -1;
552#endif //SerialisationNotSupportedWithLegacyNaming
553 break;
554 }
556 {
557#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_COLORLINE_WALK_GENERATED) // WEBOTS_NXT_COLORLINE_WALK_GENERATED is legacy, don't use
558#ifdef NotSupportedWithLegacyNaming
559#define WEBOTS_NXT_COLORLINE_WALK_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
560#else
561#define WEBOTS_NXT_COLORLINE_WALK_C_STRUCT_NAME_COMPAT WEBOTS_NXT_COLORLINE_WALK_C_STRUCT
562#endif
563 return DESERIALISE(WEBOTS_NXT_COLORLINE_WALK_C_STRUCT_NAME_COMPAT, serialised_in, (struct WEBOTS_NXT_COLORLINE_WALK_C_STRUCT_NAME_COMPAT *)message_out)
564#undef WEBOTS_NXT_COLORLINE_WALK_C_STRUCT_NAME_COMPAT
565#else
566 return -1;
567#endif //SerialisationNotSupportedWithLegacyNaming
568 break;
569 }
571 {
572#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_GRIDMOTIONS_GENERATED) // WEBOTS_NXT_GRIDMOTIONS_GENERATED is legacy, don't use
573#ifdef NotSupportedWithLegacyNaming
574#define WEBOTS_NXT_GRIDMOTIONS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
575#else
576#define WEBOTS_NXT_GRIDMOTIONS_C_STRUCT_NAME_COMPAT WEBOTS_NXT_GRIDMOTIONS_C_STRUCT
577#endif
578 return DESERIALISE(WEBOTS_NXT_GRIDMOTIONS_C_STRUCT_NAME_COMPAT, serialised_in, (struct WEBOTS_NXT_GRIDMOTIONS_C_STRUCT_NAME_COMPAT *)message_out)
579#undef WEBOTS_NXT_GRIDMOTIONS_C_STRUCT_NAME_COMPAT
580#else
581 return -1;
582#endif //SerialisationNotSupportedWithLegacyNaming
583 break;
584 }
585 case kwb_VisionBall_v:
586 {
587#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(VISIONBALL_GENERATED) // VISIONBALL_GENERATED is legacy, don't use
588#ifdef NotSupportedWithLegacyNaming
589#define VISIONBALL_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
590#else
591#define VISIONBALL_C_STRUCT_NAME_COMPAT VISIONBALL_C_STRUCT
592#endif
593 return DESERIALISE(VISIONBALL_C_STRUCT_NAME_COMPAT, serialised_in, (struct VISIONBALL_C_STRUCT_NAME_COMPAT *)message_out)
594#undef VISIONBALL_C_STRUCT_NAME_COMPAT
595#else
596 return -1;
597#endif //SerialisationNotSupportedWithLegacyNaming
598 break;
599 }
601 {
602#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(VISIONGOALS_GENERATED) // VISIONGOALS_GENERATED is legacy, don't use
603#ifdef NotSupportedWithLegacyNaming
604#define VISIONGOALS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
605#else
606#define VISIONGOALS_C_STRUCT_NAME_COMPAT VISIONGOALS_C_STRUCT
607#endif
608 return DESERIALISE(VISIONGOALS_C_STRUCT_NAME_COMPAT, serialised_in, (struct VISIONGOALS_C_STRUCT_NAME_COMPAT *)message_out)
609#undef VISIONGOALS_C_STRUCT_NAME_COMPAT
610#else
611 return -1;
612#endif //SerialisationNotSupportedWithLegacyNaming
613 break;
614 }
615 case kwb_WalkData_v:
616 {
617#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WALKDATA_GENERATED) // WALKDATA_GENERATED is legacy, don't use
618#ifdef NotSupportedWithLegacyNaming
619#define WALKDATA_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
620#else
621#define WALKDATA_C_STRUCT_NAME_COMPAT WALKDATA_C_STRUCT
622#endif
623 return DESERIALISE(WALKDATA_C_STRUCT_NAME_COMPAT, serialised_in, (struct WALKDATA_C_STRUCT_NAME_COMPAT *)message_out)
624#undef WALKDATA_C_STRUCT_NAME_COMPAT
625#else
626 return -1;
627#endif //SerialisationNotSupportedWithLegacyNaming
628 break;
629 }
631 {
632#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(TELEOPERATIONCONTROLSTATUS_GENERATED) // TELEOPERATIONCONTROLSTATUS_GENERATED is legacy, don't use
633#ifdef NotSupportedWithLegacyNaming
634#define TELEOPERATIONCONTROLSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
635#else
636#define TELEOPERATIONCONTROLSTATUS_C_STRUCT_NAME_COMPAT TELEOPERATIONCONTROLSTATUS_C_STRUCT
637#endif
638 return DESERIALISE(TELEOPERATIONCONTROLSTATUS_C_STRUCT_NAME_COMPAT, serialised_in, (struct TELEOPERATIONCONTROLSTATUS_C_STRUCT_NAME_COMPAT *)message_out)
639#undef TELEOPERATIONCONTROLSTATUS_C_STRUCT_NAME_COMPAT
640#else
641 return -1;
642#endif //SerialisationNotSupportedWithLegacyNaming
643 break;
644 }
646 {
647 return -1; /*TODO, add support for POD types.*/
648 break;
649 }
651 {
652 return -1; /*TODO, add support for POD types.*/
653 break;
654 }
656 {
657#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_BUMPER_GENERATED) // WEBOTS_NXT_BUMPER_GENERATED is legacy, don't use
658#ifdef NotSupportedWithLegacyNaming
659#define WEBOTS_NXT_BUMPER_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
660#else
661#define WEBOTS_NXT_BUMPER_C_STRUCT_NAME_COMPAT WEBOTS_NXT_BUMPER_C_STRUCT
662#endif
663 return DESERIALISE(WEBOTS_NXT_BUMPER_C_STRUCT_NAME_COMPAT, serialised_in, (struct WEBOTS_NXT_BUMPER_C_STRUCT_NAME_COMPAT *)message_out)
664#undef WEBOTS_NXT_BUMPER_C_STRUCT_NAME_COMPAT
665#else
666 return -1;
667#endif //SerialisationNotSupportedWithLegacyNaming
668 break;
669 }
671 {
672#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_VECTOR_BRIDGE_GENERATED) // WEBOTS_NXT_VECTOR_BRIDGE_GENERATED is legacy, don't use
673#ifdef NotSupportedWithLegacyNaming
674#define WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
675#else
676#define WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT_NAME_COMPAT WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT
677#endif
678 return DESERIALISE(WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT_NAME_COMPAT, serialised_in, (struct WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT_NAME_COMPAT *)message_out)
679#undef WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT_NAME_COMPAT
680#else
681 return -1;
682#endif //SerialisationNotSupportedWithLegacyNaming
683 break;
684 }
686 {
687#if defined(WB_VISION_LINES_GENERATED) || defined(VISION_LINES_GENERATED) // VISION_LINES_GENERATED is legacy, don't use
688#ifdef WB_VISION_LINES_C_STRUCT
689#define VISION_LINES_C_STRUCT_NAME_COMPAT WB_VISION_LINES_C_STRUCT
690#else
691#define VISION_LINES_C_STRUCT_NAME_COMPAT VISION_LINES_C_STRUCT
692#endif
693 return DESERIALISE(VISION_LINES_C_STRUCT_NAME_COMPAT, serialised_in, (struct VISION_LINES_C_STRUCT_NAME_COMPAT *)message_out)
694#undef VISION_LINES_C_STRUCT_NAME_COMPAT
695#else
696 return -1;
697#endif //WB_VISION_LINES_GENERATED
698 break;
699 }
701 {
702#if defined(WB_VISION_LINES_GENERATED) || defined(VISION_LINES_GENERATED) // VISION_LINES_GENERATED is legacy, don't use
703#ifdef WB_VISION_LINES_C_STRUCT
704#define VISION_LINES_C_STRUCT_NAME_COMPAT WB_VISION_LINES_C_STRUCT
705#else
706#define VISION_LINES_C_STRUCT_NAME_COMPAT VISION_LINES_C_STRUCT
707#endif
708 return DESERIALISE(VISION_LINES_C_STRUCT_NAME_COMPAT, serialised_in, (struct VISION_LINES_C_STRUCT_NAME_COMPAT *)message_out)
709#undef VISION_LINES_C_STRUCT_NAME_COMPAT
710#else
711 return -1;
712#endif //WB_VISION_LINES_GENERATED
713 break;
714 }
716 {
717#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(DIFFERENTIALROBOTCONTROLSTATUS_GENERATED) // DIFFERENTIALROBOTCONTROLSTATUS_GENERATED is legacy, don't use
718#ifdef NotSupportedWithLegacyNaming
719#define DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
720#else
721#define DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT
722#endif
723 return DESERIALISE(DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT, serialised_in, (struct DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT *)message_out)
724#undef DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT
725#else
726 return -1;
727#endif //SerialisationNotSupportedWithLegacyNaming
728 break;
729 }
731 {
732#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(DIFFERENTIALROBOTCONTROLSTATUS_GENERATED) // DIFFERENTIALROBOTCONTROLSTATUS_GENERATED is legacy, don't use
733#ifdef NotSupportedWithLegacyNaming
734#define DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
735#else
736#define DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT
737#endif
738 return DESERIALISE(DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT, serialised_in, (struct DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT *)message_out)
739#undef DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT
740#else
741 return -1;
742#endif //SerialisationNotSupportedWithLegacyNaming
743 break;
744 }
745 case kwb_XEyesPos_v:
746 {
747#if defined(WB_POINT2D_GENERATED) || defined(POINT2D_GENERATED) // POINT2D_GENERATED is legacy, don't use
748#ifdef WB_POINT2D_C_STRUCT
749#define POINT2D_C_STRUCT_NAME_COMPAT WB_POINT2D_C_STRUCT
750#else
751#define POINT2D_C_STRUCT_NAME_COMPAT POINT2D_C_STRUCT
752#endif
753 return DESERIALISE(POINT2D_C_STRUCT_NAME_COMPAT, serialised_in, (struct POINT2D_C_STRUCT_NAME_COMPAT *)message_out)
754#undef POINT2D_C_STRUCT_NAME_COMPAT
755#else
756 return -1;
757#endif //WB_POINT2D_GENERATED
758 break;
759 }
760 case kwb_VisionFace_v:
761 {
762 return -1; /*TODO, add support for POD types.*/
763 break;
764 }
765 case kwb_Draw_v:
766 {
767 return -1; /*TODO, add support for POD types.*/
768 break;
769 }
770 case kwb_FSM_States_v:
771 {
772#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FSMSTATE_GENERATED) // FSMSTATE_GENERATED is legacy, don't use
773#ifdef NotSupportedWithLegacyNaming
774#define FSMSTATE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
775#else
776#define FSMSTATE_C_STRUCT_NAME_COMPAT FSMSTATE_C_STRUCT
777#endif
778 return DESERIALISE(FSMSTATE_C_STRUCT_NAME_COMPAT, serialised_in, (struct FSMSTATE_C_STRUCT_NAME_COMPAT *)message_out)
779#undef FSMSTATE_C_STRUCT_NAME_COMPAT
780#else
781 return -1;
782#endif //SerialisationNotSupportedWithLegacyNaming
783 break;
784 }
786 {
787#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(GIRAFF_MAINSERIALINTERFACE_GENERATED) // GIRAFF_MAINSERIALINTERFACE_GENERATED is legacy, don't use
788#ifdef NotSupportedWithLegacyNaming
789#define GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
790#else
791#define GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT GIRAFF_MAINSERIALINTERFACE_C_STRUCT
792#endif
793 return DESERIALISE(GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT, serialised_in, (struct GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT *)message_out)
794#undef GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT
795#else
796 return -1;
797#endif //SerialisationNotSupportedWithLegacyNaming
798 break;
799 }
801 {
802#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(GIRAFF_MAINSERIALINTERFACE_GENERATED) // GIRAFF_MAINSERIALINTERFACE_GENERATED is legacy, don't use
803#ifdef NotSupportedWithLegacyNaming
804#define GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
805#else
806#define GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT GIRAFF_MAINSERIALINTERFACE_C_STRUCT
807#endif
808 return DESERIALISE(GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT, serialised_in, (struct GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT *)message_out)
809#undef GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT
810#else
811 return -1;
812#endif //SerialisationNotSupportedWithLegacyNaming
813 break;
814 }
815 case kwb_NXT_Status_v:
816 {
817#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NXT_INTERFACE_GENERATED) // NXT_INTERFACE_GENERATED is legacy, don't use
818#ifdef NotSupportedWithLegacyNaming
819#define NXT_INTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
820#else
821#define NXT_INTERFACE_C_STRUCT_NAME_COMPAT NXT_INTERFACE_C_STRUCT
822#endif
823 return DESERIALISE(NXT_INTERFACE_C_STRUCT_NAME_COMPAT, serialised_in, (struct NXT_INTERFACE_C_STRUCT_NAME_COMPAT *)message_out)
824#undef NXT_INTERFACE_C_STRUCT_NAME_COMPAT
825#else
826 return -1;
827#endif //SerialisationNotSupportedWithLegacyNaming
828 break;
829 }
831 {
832#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NXT_INTERFACE_GENERATED) // NXT_INTERFACE_GENERATED is legacy, don't use
833#ifdef NotSupportedWithLegacyNaming
834#define NXT_INTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
835#else
836#define NXT_INTERFACE_C_STRUCT_NAME_COMPAT NXT_INTERFACE_C_STRUCT
837#endif
838 return DESERIALISE(NXT_INTERFACE_C_STRUCT_NAME_COMPAT, serialised_in, (struct NXT_INTERFACE_C_STRUCT_NAME_COMPAT *)message_out)
839#undef NXT_INTERFACE_C_STRUCT_NAME_COMPAT
840#else
841 return -1;
842#endif //SerialisationNotSupportedWithLegacyNaming
843 break;
844 }
845 case kwb_APM_Status_v:
846 {
847#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(APM_INTERFACE_GENERATED) // APM_INTERFACE_GENERATED is legacy, don't use
848#ifdef NotSupportedWithLegacyNaming
849#define APM_INTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
850#else
851#define APM_INTERFACE_C_STRUCT_NAME_COMPAT APM_INTERFACE_C_STRUCT
852#endif
853 return DESERIALISE(APM_INTERFACE_C_STRUCT_NAME_COMPAT, serialised_in, (struct APM_INTERFACE_C_STRUCT_NAME_COMPAT *)message_out)
854#undef APM_INTERFACE_C_STRUCT_NAME_COMPAT
855#else
856 return -1;
857#endif //SerialisationNotSupportedWithLegacyNaming
858 break;
859 }
861 {
862#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(APM_INTERFACE_GENERATED) // APM_INTERFACE_GENERATED is legacy, don't use
863#ifdef NotSupportedWithLegacyNaming
864#define APM_INTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
865#else
866#define APM_INTERFACE_C_STRUCT_NAME_COMPAT APM_INTERFACE_C_STRUCT
867#endif
868 return DESERIALISE(APM_INTERFACE_C_STRUCT_NAME_COMPAT, serialised_in, (struct APM_INTERFACE_C_STRUCT_NAME_COMPAT *)message_out)
869#undef APM_INTERFACE_C_STRUCT_NAME_COMPAT
870#else
871 return -1;
872#endif //SerialisationNotSupportedWithLegacyNaming
873 break;
874 }
875 case kwb_REMOVED3_v:
876 {
877 return -1; /*TODO, add support for POD types.*/
878 break;
879 }
880 case kwb_REMOVED4_v:
881 {
882 return -1; /*TODO, add support for POD types.*/
883 break;
884 }
885 case kwb_CBall_v:
886 {
887 return -1; /*TODO, add support for POD types.*/
888 break;
889 }
891 {
892#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(OCULUSPRIMEINTERFACE_GENERATED) // OCULUSPRIMEINTERFACE_GENERATED is legacy, don't use
893#ifdef NotSupportedWithLegacyNaming
894#define OCULUSPRIMEINTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
895#else
896#define OCULUSPRIMEINTERFACE_C_STRUCT_NAME_COMPAT OCULUSPRIMEINTERFACE_C_STRUCT
897#endif
898 return DESERIALISE(OCULUSPRIMEINTERFACE_C_STRUCT_NAME_COMPAT, serialised_in, (struct OCULUSPRIMEINTERFACE_C_STRUCT_NAME_COMPAT *)message_out)
899#undef OCULUSPRIMEINTERFACE_C_STRUCT_NAME_COMPAT
900#else
901 return -1;
902#endif //SerialisationNotSupportedWithLegacyNaming
903 break;
904 }
905 case kwb_Input3D_v:
906 {
907#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(INPUT3D_GENERATED) // INPUT3D_GENERATED is legacy, don't use
908#ifdef NotSupportedWithLegacyNaming
909#define INPUT3D_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
910#else
911#define INPUT3D_C_STRUCT_NAME_COMPAT INPUT3D_C_STRUCT
912#endif
913 return DESERIALISE(INPUT3D_C_STRUCT_NAME_COMPAT, serialised_in, (struct INPUT3D_C_STRUCT_NAME_COMPAT *)message_out)
914#undef INPUT3D_C_STRUCT_NAME_COMPAT
915#else
916 return -1;
917#endif //SerialisationNotSupportedWithLegacyNaming
918 break;
919 }
921 {
922#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(OCULUS_PRIMESERIALINTERFACE_GENERATED) // OCULUS_PRIMESERIALINTERFACE_GENERATED is legacy, don't use
923#ifdef NotSupportedWithLegacyNaming
924#define OCULUS_PRIMESERIALINTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
925#else
926#define OCULUS_PRIMESERIALINTERFACE_C_STRUCT_NAME_COMPAT OCULUS_PRIMESERIALINTERFACE_C_STRUCT
927#endif
928 return DESERIALISE(OCULUS_PRIMESERIALINTERFACE_C_STRUCT_NAME_COMPAT, serialised_in, (struct OCULUS_PRIMESERIALINTERFACE_C_STRUCT_NAME_COMPAT *)message_out)
929#undef OCULUS_PRIMESERIALINTERFACE_C_STRUCT_NAME_COMPAT
930#else
931 return -1;
932#endif //SerialisationNotSupportedWithLegacyNaming
933 break;
934 }
935 case kwb_IOPins_v:
936 {
937#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(IOPINS_GENERATED) // IOPINS_GENERATED is legacy, don't use
938#ifdef NotSupportedWithLegacyNaming
939#define IOPINS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
940#else
941#define IOPINS_C_STRUCT_NAME_COMPAT IOPINS_C_STRUCT
942#endif
943 return DESERIALISE(IOPINS_C_STRUCT_NAME_COMPAT, serialised_in, (struct IOPINS_C_STRUCT_NAME_COMPAT *)message_out)
944#undef IOPINS_C_STRUCT_NAME_COMPAT
945#else
946 return -1;
947#endif //SerialisationNotSupportedWithLegacyNaming
948 break;
949 }
951 {
952#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NXT_TWO_TOUCH_STATUS_GENERATED) // NXT_TWO_TOUCH_STATUS_GENERATED is legacy, don't use
953#ifdef NotSupportedWithLegacyNaming
954#define NXT_TWO_TOUCH_STATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
955#else
956#define NXT_TWO_TOUCH_STATUS_C_STRUCT_NAME_COMPAT NXT_TWO_TOUCH_STATUS_C_STRUCT
957#endif
958 return DESERIALISE(NXT_TWO_TOUCH_STATUS_C_STRUCT_NAME_COMPAT, serialised_in, (struct NXT_TWO_TOUCH_STATUS_C_STRUCT_NAME_COMPAT *)message_out)
959#undef NXT_TWO_TOUCH_STATUS_C_STRUCT_NAME_COMPAT
960#else
961 return -1;
962#endif //SerialisationNotSupportedWithLegacyNaming
963 break;
964 }
966 {
967#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NXT_SOUND_CONTROL_GENERATED) // NXT_SOUND_CONTROL_GENERATED is legacy, don't use
968#ifdef NotSupportedWithLegacyNaming
969#define NXT_SOUND_CONTROL_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
970#else
971#define NXT_SOUND_CONTROL_C_STRUCT_NAME_COMPAT NXT_SOUND_CONTROL_C_STRUCT
972#endif
973 return DESERIALISE(NXT_SOUND_CONTROL_C_STRUCT_NAME_COMPAT, serialised_in, (struct NXT_SOUND_CONTROL_C_STRUCT_NAME_COMPAT *)message_out)
974#undef NXT_SOUND_CONTROL_C_STRUCT_NAME_COMPAT
975#else
976 return -1;
977#endif //SerialisationNotSupportedWithLegacyNaming
978 break;
979 }
981 {
982#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NXT_LIGHTS_CONTROL_GENERATED) // NXT_LIGHTS_CONTROL_GENERATED is legacy, don't use
983#ifdef NotSupportedWithLegacyNaming
984#define NXT_LIGHTS_CONTROL_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
985#else
986#define NXT_LIGHTS_CONTROL_C_STRUCT_NAME_COMPAT NXT_LIGHTS_CONTROL_C_STRUCT
987#endif
988 return DESERIALISE(NXT_LIGHTS_CONTROL_C_STRUCT_NAME_COMPAT, serialised_in, (struct NXT_LIGHTS_CONTROL_C_STRUCT_NAME_COMPAT *)message_out)
989#undef NXT_LIGHTS_CONTROL_C_STRUCT_NAME_COMPAT
990#else
991 return -1;
992#endif //SerialisationNotSupportedWithLegacyNaming
993 break;
994 }
995 case kwb_Clocks_v:
996 {
997#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(CLOCKS_GENERATED) // CLOCKS_GENERATED is legacy, don't use
998#ifdef NotSupportedWithLegacyNaming
999#define CLOCKS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1000#else
1001#define CLOCKS_C_STRUCT_NAME_COMPAT CLOCKS_C_STRUCT
1002#endif
1003 return DESERIALISE(CLOCKS_C_STRUCT_NAME_COMPAT, serialised_in, (struct CLOCKS_C_STRUCT_NAME_COMPAT *)message_out)
1004#undef CLOCKS_C_STRUCT_NAME_COMPAT
1005#else
1006 return -1;
1007#endif //SerialisationNotSupportedWithLegacyNaming
1008 break;
1009 }
1010 case kwb_Channels_v:
1011 {
1012#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(CHANNELS_GENERATED) // CHANNELS_GENERATED is legacy, don't use
1013#ifdef NotSupportedWithLegacyNaming
1014#define CHANNELS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1015#else
1016#define CHANNELS_C_STRUCT_NAME_COMPAT CHANNELS_C_STRUCT
1017#endif
1018 return DESERIALISE(CHANNELS_C_STRUCT_NAME_COMPAT, serialised_in, (struct CHANNELS_C_STRUCT_NAME_COMPAT *)message_out)
1019#undef CHANNELS_C_STRUCT_NAME_COMPAT
1020#else
1021 return -1;
1022#endif //SerialisationNotSupportedWithLegacyNaming
1023 break;
1024 }
1026 {
1027#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SWITCHSUBSUMPTION_GENERATED) // SWITCHSUBSUMPTION_GENERATED is legacy, don't use
1028#ifdef NotSupportedWithLegacyNaming
1029#define SWITCHSUBSUMPTION_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1030#else
1031#define SWITCHSUBSUMPTION_C_STRUCT_NAME_COMPAT SWITCHSUBSUMPTION_C_STRUCT
1032#endif
1033 return DESERIALISE(SWITCHSUBSUMPTION_C_STRUCT_NAME_COMPAT, serialised_in, (struct SWITCHSUBSUMPTION_C_STRUCT_NAME_COMPAT *)message_out)
1034#undef SWITCHSUBSUMPTION_C_STRUCT_NAME_COMPAT
1035#else
1036 return -1;
1037#endif //SerialisationNotSupportedWithLegacyNaming
1038 break;
1039 }
1041 {
1042#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(TOTODOINGMOTION_GENERATED) // TOTODOINGMOTION_GENERATED is legacy, don't use
1043#ifdef NotSupportedWithLegacyNaming
1044#define TOTODOINGMOTION_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1045#else
1046#define TOTODOINGMOTION_C_STRUCT_NAME_COMPAT TOTODOINGMOTION_C_STRUCT
1047#endif
1048 return DESERIALISE(TOTODOINGMOTION_C_STRUCT_NAME_COMPAT, serialised_in, (struct TOTODOINGMOTION_C_STRUCT_NAME_COMPAT *)message_out)
1049#undef TOTODOINGMOTION_C_STRUCT_NAME_COMPAT
1050#else
1051 return -1;
1052#endif //SerialisationNotSupportedWithLegacyNaming
1053 break;
1054 }
1055 case kwb_Count_v:
1056 {
1057#if defined(WB_COUNT_GENERATED) || defined(COUNT_GENERATED) // COUNT_GENERATED is legacy, don't use
1058#ifdef WB_COUNT_C_STRUCT
1059#define COUNT_C_STRUCT_NAME_COMPAT WB_COUNT_C_STRUCT
1060#else
1061#define COUNT_C_STRUCT_NAME_COMPAT COUNT_C_STRUCT
1062#endif
1063 return DESERIALISE(COUNT_C_STRUCT_NAME_COMPAT, serialised_in, (struct COUNT_C_STRUCT_NAME_COMPAT *)message_out)
1064#undef COUNT_C_STRUCT_NAME_COMPAT
1065#else
1066 return -1;
1067#endif //WB_COUNT_GENERATED
1068 break;
1069 }
1070 case kwb_GreenEWon_v:
1071 {
1072 return -1; /*TODO, add support for POD types.*/
1073 break;
1074 }
1075 case kwb_WarnEW_v:
1076 {
1077 return -1; /*TODO, add support for POD types.*/
1078 break;
1079 }
1080 case kwb_TimeGTthirty_v:
1081 {
1082 return -1; /*TODO, add support for POD types.*/
1083 break;
1084 }
1085 case kwb_AmberEWon_v:
1086 {
1087 return -1; /*TODO, add support for POD types.*/
1088 break;
1089 }
1090 case kwb_TurnRedEW_v:
1091 {
1092 return -1; /*TODO, add support for POD types.*/
1093 break;
1094 }
1095 case kwb_TimeGTfive_v:
1096 {
1097 return -1; /*TODO, add support for POD types.*/
1098 break;
1099 }
1100 case kwb_RedEWon_v:
1101 {
1102 return -1; /*TODO, add support for POD types.*/
1103 break;
1104 }
1105 case kwb_GreenNSon_v:
1106 {
1107 return -1; /*TODO, add support for POD types.*/
1108 break;
1109 }
1110 case kwb_WarnNS_v:
1111 {
1112 return -1; /*TODO, add support for POD types.*/
1113 break;
1114 }
1115 case kwb_AmberNSon_v:
1116 {
1117 return -1; /*TODO, add support for POD types.*/
1118 break;
1119 }
1120 case kwb_TurnRedNS_v:
1121 {
1122 return -1; /*TODO, add support for POD types.*/
1123 break;
1124 }
1125 case kwb_RedNSon_v:
1126 {
1127 return -1; /*TODO, add support for POD types.*/
1128 break;
1129 }
1130 case kwb_TimerReset_v:
1131 {
1132 return -1; /*TODO, add support for POD types.*/
1133 break;
1134 }
1135 case kwb_SLOT_UNUSED_v:
1136 {
1137 return -1; /*TODO, add support for POD types.*/
1138 break;
1139 }
1141 {
1142 return -1; /*TODO, add support for POD types.*/
1143 break;
1144 }
1146 {
1147#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SWITCHSUBSUMPTIONTRAFFICLIGHTS_GENERATED) // SWITCHSUBSUMPTIONTRAFFICLIGHTS_GENERATED is legacy, don't use
1148#ifdef NotSupportedWithLegacyNaming
1149#define SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1150#else
1151#define SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT_NAME_COMPAT SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT
1152#endif
1153 return DESERIALISE(SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT_NAME_COMPAT, serialised_in, (struct SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT_NAME_COMPAT *)message_out)
1154#undef SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT_NAME_COMPAT
1155#else
1156 return -1;
1157#endif //SerialisationNotSupportedWithLegacyNaming
1158 break;
1159 }
1160 case kwb_Ball_Found_v:
1161 {
1162 return -1; /*TODO, add support for POD types.*/
1163 break;
1164 }
1166 {
1167 return -1; /*TODO, add support for POD types.*/
1168 break;
1169 }
1171 {
1172 return -1; /*TODO, add support for POD types.*/
1173 break;
1174 }
1176 {
1177 return -1; /*TODO, add support for POD types.*/
1178 break;
1179 }
1181 {
1182#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1183#ifdef NotSupportedWithLegacyNaming
1184#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1185#else
1186#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1187#endif
1188 return DESERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1189#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1190#else
1191 return -1;
1192#endif //SerialisationNotSupportedWithLegacyNaming
1193 break;
1194 }
1196 {
1197#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1198#ifdef NotSupportedWithLegacyNaming
1199#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1200#else
1201#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1202#endif
1203 return DESERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1204#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1205#else
1206 return -1;
1207#endif //SerialisationNotSupportedWithLegacyNaming
1208 break;
1209 }
1211 {
1212#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1213#ifdef NotSupportedWithLegacyNaming
1214#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1215#else
1216#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1217#endif
1218 return DESERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1219#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1220#else
1221 return -1;
1222#endif //SerialisationNotSupportedWithLegacyNaming
1223 break;
1224 }
1226 {
1227#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1228#ifdef NotSupportedWithLegacyNaming
1229#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1230#else
1231#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1232#endif
1233 return DESERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1234#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1235#else
1236 return -1;
1237#endif //SerialisationNotSupportedWithLegacyNaming
1238 break;
1239 }
1241 {
1242#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1243#ifdef NotSupportedWithLegacyNaming
1244#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1245#else
1246#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1247#endif
1248 return DESERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1249#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1250#else
1251 return -1;
1252#endif //SerialisationNotSupportedWithLegacyNaming
1253 break;
1254 }
1256 {
1257#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1258#ifdef NotSupportedWithLegacyNaming
1259#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1260#else
1261#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1262#endif
1263 return DESERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1264#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1265#else
1266 return -1;
1267#endif //SerialisationNotSupportedWithLegacyNaming
1268 break;
1269 }
1271 {
1272#if defined(WB_VISION_FIELD_FEATURES_GENERATED) || defined(VISION_FIELD_FEATURES_GENERATED) // VISION_FIELD_FEATURES_GENERATED is legacy, don't use
1273#ifdef WB_VISION_FIELD_FEATURES_C_STRUCT
1274#define VISION_FIELD_FEATURES_C_STRUCT_NAME_COMPAT WB_VISION_FIELD_FEATURES_C_STRUCT
1275#else
1276#define VISION_FIELD_FEATURES_C_STRUCT_NAME_COMPAT VISION_FIELD_FEATURES_C_STRUCT
1277#endif
1279#undef VISION_FIELD_FEATURES_C_STRUCT_NAME_COMPAT
1280#else
1281 return -1;
1282#endif //WB_VISION_FIELD_FEATURES_GENERATED
1283 break;
1284 }
1285 case kwb_WhistleBlown_v:
1286 {
1287 return -1; /*TODO, add support for POD types.*/
1288 break;
1289 }
1291 {
1292 return -1; /*TODO, add support for POD types.*/
1293 break;
1294 }
1295 case kwb_VisionRobots_v:
1296 {
1297#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(VISIONROBOTS_GENERATED) // VISIONROBOTS_GENERATED is legacy, don't use
1298#ifdef NotSupportedWithLegacyNaming
1299#define VISIONROBOTS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1300#else
1301#define VISIONROBOTS_C_STRUCT_NAME_COMPAT VISIONROBOTS_C_STRUCT
1302#endif
1303 return DESERIALISE(VISIONROBOTS_C_STRUCT_NAME_COMPAT, serialised_in, (struct VISIONROBOTS_C_STRUCT_NAME_COMPAT *)message_out)
1304#undef VISIONROBOTS_C_STRUCT_NAME_COMPAT
1305#else
1306 return -1;
1307#endif //SerialisationNotSupportedWithLegacyNaming
1308 break;
1309 }
1311 {
1312#if defined(WB_VISION_DETECTION_HORIZONS_GENERATED) || defined(VISION_DETECTION_HORIZONS_GENERATED) // VISION_DETECTION_HORIZONS_GENERATED is legacy, don't use
1313#ifdef WB_VISION_DETECTION_HORIZONS_C_STRUCT
1314#define VISION_DETECTION_HORIZONS_C_STRUCT_NAME_COMPAT WB_VISION_DETECTION_HORIZONS_C_STRUCT
1315#else
1316#define VISION_DETECTION_HORIZONS_C_STRUCT_NAME_COMPAT VISION_DETECTION_HORIZONS_C_STRUCT
1317#endif
1319#undef VISION_DETECTION_HORIZONS_C_STRUCT_NAME_COMPAT
1320#else
1321 return -1;
1322#endif //WB_VISION_DETECTION_HORIZONS_GENERATED
1323 break;
1324 }
1326 {
1327#if defined(WB_NAOWALKCOMMAND_GENERATED) || defined(NAOWALKCOMMAND_GENERATED) // NAOWALKCOMMAND_GENERATED is legacy, don't use
1328#ifdef WB_NAOWALKCOMMAND_C_STRUCT
1329#define NAOWALKCOMMAND_C_STRUCT_NAME_COMPAT WB_NAOWALKCOMMAND_C_STRUCT
1330#else
1331#define NAOWALKCOMMAND_C_STRUCT_NAME_COMPAT NAOWALKCOMMAND_C_STRUCT
1332#endif
1333 return DESERIALISE(NAOWALKCOMMAND_C_STRUCT_NAME_COMPAT, serialised_in, (struct NAOWALKCOMMAND_C_STRUCT_NAME_COMPAT *)message_out)
1334#undef NAOWALKCOMMAND_C_STRUCT_NAME_COMPAT
1335#else
1336 return -1;
1337#endif //WB_NAOWALKCOMMAND_GENERATED
1338 break;
1339 }
1341 {
1342#if defined(WB_NAOWALKSTATUS_GENERATED) || defined(NAOWALKSTATUS_GENERATED) // NAOWALKSTATUS_GENERATED is legacy, don't use
1343#ifdef WB_NAOWALKSTATUS_C_STRUCT
1344#define NAOWALKSTATUS_C_STRUCT_NAME_COMPAT WB_NAOWALKSTATUS_C_STRUCT
1345#else
1346#define NAOWALKSTATUS_C_STRUCT_NAME_COMPAT NAOWALKSTATUS_C_STRUCT
1347#endif
1348 return DESERIALISE(NAOWALKSTATUS_C_STRUCT_NAME_COMPAT, serialised_in, (struct NAOWALKSTATUS_C_STRUCT_NAME_COMPAT *)message_out)
1349#undef NAOWALKSTATUS_C_STRUCT_NAME_COMPAT
1350#else
1351 return -1;
1352#endif //WB_NAOWALKSTATUS_GENERATED
1353 break;
1354 }
1356 {
1357#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1358#ifdef NotSupportedWithLegacyNaming
1359#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1360#else
1361#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1362#endif
1363 return DESERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1364#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1365#else
1366 return -1;
1367#endif //SerialisationNotSupportedWithLegacyNaming
1368 break;
1369 }
1371 {
1372#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1373#ifdef NotSupportedWithLegacyNaming
1374#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1375#else
1376#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1377#endif
1378 return DESERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1379#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1380#else
1381 return -1;
1382#endif //SerialisationNotSupportedWithLegacyNaming
1383 break;
1384 }
1386 {
1387#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1388#ifdef NotSupportedWithLegacyNaming
1389#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1390#else
1391#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1392#endif
1393 return DESERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1394#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1395#else
1396 return -1;
1397#endif //SerialisationNotSupportedWithLegacyNaming
1398 break;
1399 }
1401 {
1402#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1403#ifdef NotSupportedWithLegacyNaming
1404#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1405#else
1406#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1407#endif
1408 return DESERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1409#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1410#else
1411 return -1;
1412#endif //SerialisationNotSupportedWithLegacyNaming
1413 break;
1414 }
1416 {
1417#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1418#ifdef NotSupportedWithLegacyNaming
1419#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1420#else
1421#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1422#endif
1423 return DESERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1424#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1425#else
1426 return -1;
1427#endif //SerialisationNotSupportedWithLegacyNaming
1428 break;
1429 }
1431 {
1432#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1433#ifdef NotSupportedWithLegacyNaming
1434#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1435#else
1436#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1437#endif
1438 return DESERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, serialised_in, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_out)
1439#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1440#else
1441 return -1;
1442#endif //SerialisationNotSupportedWithLegacyNaming
1443 break;
1444 }
1446 {
1447#if defined(WB_VISION_DETECTION_GOALS_GENERATED) || defined(VISION_DETECTION_GOALS_GENERATED) // VISION_DETECTION_GOALS_GENERATED is legacy, don't use
1448#ifdef WB_VISION_DETECTION_GOALS_C_STRUCT
1449#define VISION_DETECTION_GOALS_C_STRUCT_NAME_COMPAT WB_VISION_DETECTION_GOALS_C_STRUCT
1450#else
1451#define VISION_DETECTION_GOALS_C_STRUCT_NAME_COMPAT VISION_DETECTION_GOALS_C_STRUCT
1452#endif
1454#undef VISION_DETECTION_GOALS_C_STRUCT_NAME_COMPAT
1455#else
1456 return -1;
1457#endif //WB_VISION_DETECTION_GOALS_GENERATED
1458 break;
1459 }
1461 {
1462#if defined(WB_TELEOPERATIONCONTROL_GENERATED) || defined(TELEOPERATIONCONTROL_GENERATED) // TELEOPERATIONCONTROL_GENERATED is legacy, don't use
1463#ifdef WB_TELEOPERATIONCONTROL_C_STRUCT
1464#define TELEOPERATIONCONTROL_C_STRUCT_NAME_COMPAT WB_TELEOPERATIONCONTROL_C_STRUCT
1465#else
1466#define TELEOPERATIONCONTROL_C_STRUCT_NAME_COMPAT TELEOPERATIONCONTROL_C_STRUCT
1467#endif
1469#undef TELEOPERATIONCONTROL_C_STRUCT_NAME_COMPAT
1470#else
1471 return -1;
1472#endif //WB_TELEOPERATIONCONTROL_GENERATED
1473 break;
1474 }
1476 {
1477#if defined(WB_TELEOPERATIONSTATUS_GENERATED) || defined(TELEOPERATIONSTATUS_GENERATED) // TELEOPERATIONSTATUS_GENERATED is legacy, don't use
1478#ifdef WB_TELEOPERATIONSTATUS_C_STRUCT
1479#define TELEOPERATIONSTATUS_C_STRUCT_NAME_COMPAT WB_TELEOPERATIONSTATUS_C_STRUCT
1480#else
1481#define TELEOPERATIONSTATUS_C_STRUCT_NAME_COMPAT TELEOPERATIONSTATUS_C_STRUCT
1482#endif
1484#undef TELEOPERATIONSTATUS_C_STRUCT_NAME_COMPAT
1485#else
1486 return -1;
1487#endif //WB_TELEOPERATIONSTATUS_GENERATED
1488 break;
1489 }
1491 {
1492#if defined(WB_VISION_DETECTION_BALLS_GENERATED) || defined(VISION_DETECTION_BALLS_GENERATED) // VISION_DETECTION_BALLS_GENERATED is legacy, don't use
1493#ifdef WB_VISION_DETECTION_BALLS_C_STRUCT
1494#define VISION_DETECTION_BALLS_C_STRUCT_NAME_COMPAT WB_VISION_DETECTION_BALLS_C_STRUCT
1495#else
1496#define VISION_DETECTION_BALLS_C_STRUCT_NAME_COMPAT VISION_DETECTION_BALLS_C_STRUCT
1497#endif
1499#undef VISION_DETECTION_BALLS_C_STRUCT_NAME_COMPAT
1500#else
1501 return -1;
1502#endif //WB_VISION_DETECTION_BALLS_GENERATED
1503 break;
1504 }
1506 {
1507#if defined(WB_TELEOPERATIONCONTROLVR_GENERATED) || defined(TELEOPERATIONCONTROLVR_GENERATED) // TELEOPERATIONCONTROLVR_GENERATED is legacy, don't use
1508#ifdef WB_TELEOPERATIONCONTROLVR_C_STRUCT
1509#define TELEOPERATIONCONTROLVR_C_STRUCT_NAME_COMPAT WB_TELEOPERATIONCONTROLVR_C_STRUCT
1510#else
1511#define TELEOPERATIONCONTROLVR_C_STRUCT_NAME_COMPAT TELEOPERATIONCONTROLVR_C_STRUCT
1512#endif
1514#undef TELEOPERATIONCONTROLVR_C_STRUCT_NAME_COMPAT
1515#else
1516 return -1;
1517#endif //WB_TELEOPERATIONCONTROLVR_GENERATED
1518 break;
1519 }
1521 {
1522 return -1; /*TODO, add support for POD types.*/
1523 break;
1524 }
1526 {
1527 return -1; /*TODO, add support for POD types.*/
1528 break;
1529 }
1530 case kwb_FFTControl_v:
1531 {
1532 return -1; /*TODO, add support for POD types.*/
1533 break;
1534 }
1536 {
1537#if defined(WB_MACHINE_FILTERED_VISION_GENERATED) || defined(MACHINE_FILTERED_VISION_GENERATED) // MACHINE_FILTERED_VISION_GENERATED is legacy, don't use
1538#ifdef WB_MACHINE_FILTERED_VISION_C_STRUCT
1539#define MACHINE_FILTERED_VISION_C_STRUCT_NAME_COMPAT WB_MACHINE_FILTERED_VISION_C_STRUCT
1540#else
1541#define MACHINE_FILTERED_VISION_C_STRUCT_NAME_COMPAT MACHINE_FILTERED_VISION_C_STRUCT
1542#endif
1544#undef MACHINE_FILTERED_VISION_C_STRUCT_NAME_COMPAT
1545#else
1546 return -1;
1547#endif //WB_MACHINE_FILTERED_VISION_GENERATED
1548 break;
1549 }
1551 {
1552#if defined(WB_MICROWAVE_STATUS_GENERATED) || defined(MICROWAVE_STATUS_GENERATED) // MICROWAVE_STATUS_GENERATED is legacy, don't use
1553#ifdef WB_MICROWAVE_STATUS_C_STRUCT
1554#define MICROWAVE_STATUS_C_STRUCT_NAME_COMPAT WB_MICROWAVE_STATUS_C_STRUCT
1555#else
1556#define MICROWAVE_STATUS_C_STRUCT_NAME_COMPAT MICROWAVE_STATUS_C_STRUCT
1557#endif
1559#undef MICROWAVE_STATUS_C_STRUCT_NAME_COMPAT
1560#else
1561 return -1;
1562#endif //WB_MICROWAVE_STATUS_GENERATED
1563 break;
1564 }
1565 case kwb_Buttons_v:
1566 {
1567#if defined(WB_BUTTONS_GENERATED) || defined(BUTTONS_GENERATED) // BUTTONS_GENERATED is legacy, don't use
1568#ifdef WB_BUTTONS_C_STRUCT
1569#define BUTTONS_C_STRUCT_NAME_COMPAT WB_BUTTONS_C_STRUCT
1570#else
1571#define BUTTONS_C_STRUCT_NAME_COMPAT BUTTONS_C_STRUCT
1572#endif
1573 return DESERIALISE(BUTTONS_C_STRUCT_NAME_COMPAT, serialised_in, (struct BUTTONS_C_STRUCT_NAME_COMPAT *)message_out)
1574#undef BUTTONS_C_STRUCT_NAME_COMPAT
1575#else
1576 return -1;
1577#endif //WB_BUTTONS_GENERATED
1578 break;
1579 }
1581 {
1582#if defined(WB_MACHINE_FILTERED_LOCALISATION_VISION_GENERATED) || defined(MACHINE_FILTERED_LOCALISATION_VISION_GENERATED) // MACHINE_FILTERED_LOCALISATION_VISION_GENERATED is legacy, don't use
1583#ifdef WB_MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT
1584#define MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT_NAME_COMPAT WB_MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT
1585#else
1586#define MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT_NAME_COMPAT MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT
1587#endif
1589#undef MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT_NAME_COMPAT
1590#else
1591 return -1;
1592#endif //WB_MACHINE_FILTERED_LOCALISATION_VISION_GENERATED
1593 break;
1594 }
1596 {
1597#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NAOJOINTLISTFLOAT_GENERATED) // NAOJOINTLISTFLOAT_GENERATED is legacy, don't use
1598#ifdef NotSupportedWithLegacyNaming
1599#define NAOJOINTLISTFLOAT_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1600#else
1601#define NAOJOINTLISTFLOAT_C_STRUCT_NAME_COMPAT NAOJOINTLISTFLOAT_C_STRUCT
1602#endif
1603 return DESERIALISE(NAOJOINTLISTFLOAT_C_STRUCT_NAME_COMPAT, serialised_in, (struct NAOJOINTLISTFLOAT_C_STRUCT_NAME_COMPAT *)message_out)
1604#undef NAOJOINTLISTFLOAT_C_STRUCT_NAME_COMPAT
1605#else
1606 return -1;
1607#endif //SerialisationNotSupportedWithLegacyNaming
1608 break;
1609 }
1610 case kwb_DataLogger_v:
1611 {
1612#if defined(WB_DATA_LOGGER_GENERATED) || defined(DATA_LOGGER_GENERATED) // DATA_LOGGER_GENERATED is legacy, don't use
1613#ifdef WB_DATA_LOGGER_C_STRUCT
1614#define DATA_LOGGER_C_STRUCT_NAME_COMPAT WB_DATA_LOGGER_C_STRUCT
1615#else
1616#define DATA_LOGGER_C_STRUCT_NAME_COMPAT DATA_LOGGER_C_STRUCT
1617#endif
1618 return DESERIALISE(DATA_LOGGER_C_STRUCT_NAME_COMPAT, serialised_in, (struct DATA_LOGGER_C_STRUCT_NAME_COMPAT *)message_out)
1619#undef DATA_LOGGER_C_STRUCT_NAME_COMPAT
1620#else
1621 return -1;
1622#endif //WB_DATA_LOGGER_GENERATED
1623 break;
1624 }
1626 {
1627#if defined(WB_MACHINE_FILTERED_LINES_GENERATED) || defined(MACHINE_FILTERED_LINES_GENERATED) // MACHINE_FILTERED_LINES_GENERATED is legacy, don't use
1628#ifdef WB_MACHINE_FILTERED_LINES_C_STRUCT
1629#define MACHINE_FILTERED_LINES_C_STRUCT_NAME_COMPAT WB_MACHINE_FILTERED_LINES_C_STRUCT
1630#else
1631#define MACHINE_FILTERED_LINES_C_STRUCT_NAME_COMPAT MACHINE_FILTERED_LINES_C_STRUCT
1632#endif
1634#undef MACHINE_FILTERED_LINES_C_STRUCT_NAME_COMPAT
1635#else
1636 return -1;
1637#endif //WB_MACHINE_FILTERED_LINES_GENERATED
1638 break;
1639 }
1640 case kwb_BallLocation_v:
1641 {
1642#if defined(WB_LOCATION_GENERATED) || defined(LOCATION_GENERATED) // LOCATION_GENERATED is legacy, don't use
1643#ifdef WB_LOCATION_C_STRUCT
1644#define LOCATION_C_STRUCT_NAME_COMPAT WB_LOCATION_C_STRUCT
1645#else
1646#define LOCATION_C_STRUCT_NAME_COMPAT LOCATION_C_STRUCT
1647#endif
1648 return DESERIALISE(LOCATION_C_STRUCT_NAME_COMPAT, serialised_in, (struct LOCATION_C_STRUCT_NAME_COMPAT *)message_out)
1649#undef LOCATION_C_STRUCT_NAME_COMPAT
1650#else
1651 return -1;
1652#endif //WB_LOCATION_GENERATED
1653 break;
1654 }
1656 {
1657#if defined(WB_LOCATION_GENERATED) || defined(LOCATION_GENERATED) // LOCATION_GENERATED is legacy, don't use
1658#ifdef WB_LOCATION_C_STRUCT
1659#define LOCATION_C_STRUCT_NAME_COMPAT WB_LOCATION_C_STRUCT
1660#else
1661#define LOCATION_C_STRUCT_NAME_COMPAT LOCATION_C_STRUCT
1662#endif
1663 return DESERIALISE(LOCATION_C_STRUCT_NAME_COMPAT, serialised_in, (struct LOCATION_C_STRUCT_NAME_COMPAT *)message_out)
1664#undef LOCATION_C_STRUCT_NAME_COMPAT
1665#else
1666 return -1;
1667#endif //WB_LOCATION_GENERATED
1668 break;
1669 }
1671 {
1672#if defined(WB_LOCATION_GENERATED) || defined(LOCATION_GENERATED) // LOCATION_GENERATED is legacy, don't use
1673#ifdef WB_LOCATION_C_STRUCT
1674#define LOCATION_C_STRUCT_NAME_COMPAT WB_LOCATION_C_STRUCT
1675#else
1676#define LOCATION_C_STRUCT_NAME_COMPAT LOCATION_C_STRUCT
1677#endif
1678 return DESERIALISE(LOCATION_C_STRUCT_NAME_COMPAT, serialised_in, (struct LOCATION_C_STRUCT_NAME_COMPAT *)message_out)
1679#undef LOCATION_C_STRUCT_NAME_COMPAT
1680#else
1681 return -1;
1682#endif //WB_LOCATION_GENERATED
1683 break;
1684 }
1685 case kwb_GoalLocation_v:
1686 {
1687#if defined(WB_LOCATION_GENERATED) || defined(LOCATION_GENERATED) // LOCATION_GENERATED is legacy, don't use
1688#ifdef WB_LOCATION_C_STRUCT
1689#define LOCATION_C_STRUCT_NAME_COMPAT WB_LOCATION_C_STRUCT
1690#else
1691#define LOCATION_C_STRUCT_NAME_COMPAT LOCATION_C_STRUCT
1692#endif
1693 return DESERIALISE(LOCATION_C_STRUCT_NAME_COMPAT, serialised_in, (struct LOCATION_C_STRUCT_NAME_COMPAT *)message_out)
1694#undef LOCATION_C_STRUCT_NAME_COMPAT
1695#else
1696 return -1;
1697#endif //WB_LOCATION_GENERATED
1698 break;
1699 }
1701 {
1702#if defined(WB_NAO_SONAR_PROTECTED_WALK_COMMAND_GENERATED) || defined(NAO_SONAR_PROTECTED_WALK_COMMAND_GENERATED) // NAO_SONAR_PROTECTED_WALK_COMMAND_GENERATED is legacy, don't use
1703#ifdef WB_NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT
1704#define NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT_NAME_COMPAT WB_NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT
1705#else
1706#define NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT_NAME_COMPAT NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT
1707#endif
1709#undef NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT_NAME_COMPAT
1710#else
1711 return -1;
1712#endif //WB_NAO_SONAR_PROTECTED_WALK_COMMAND_GENERATED
1713 break;
1714 }
1716 {
1717#if defined(WB_NAO_OBSTACLE_DIRECTION_GENERATED) || defined(NAO_OBSTACLE_DIRECTION_GENERATED) // NAO_OBSTACLE_DIRECTION_GENERATED is legacy, don't use
1718#ifdef WB_NAO_OBSTACLE_DIRECTION_C_STRUCT
1719#define NAO_OBSTACLE_DIRECTION_C_STRUCT_NAME_COMPAT WB_NAO_OBSTACLE_DIRECTION_C_STRUCT
1720#else
1721#define NAO_OBSTACLE_DIRECTION_C_STRUCT_NAME_COMPAT NAO_OBSTACLE_DIRECTION_C_STRUCT
1722#endif
1724#undef NAO_OBSTACLE_DIRECTION_C_STRUCT_NAME_COMPAT
1725#else
1726 return -1;
1727#endif //WB_NAO_OBSTACLE_DIRECTION_GENERATED
1728 break;
1729 }
1731 {
1732#if defined(WB_DOMINANT_FREQUENCIES_GENERATED) || defined(DOMINANT_FREQUENCIES_GENERATED) // DOMINANT_FREQUENCIES_GENERATED is legacy, don't use
1733#ifdef WB_DOMINANT_FREQUENCIES_C_STRUCT
1734#define DOMINANT_FREQUENCIES_C_STRUCT_NAME_COMPAT WB_DOMINANT_FREQUENCIES_C_STRUCT
1735#else
1736#define DOMINANT_FREQUENCIES_C_STRUCT_NAME_COMPAT DOMINANT_FREQUENCIES_C_STRUCT
1737#endif
1739#undef DOMINANT_FREQUENCIES_C_STRUCT_NAME_COMPAT
1740#else
1741 return -1;
1742#endif //WB_DOMINANT_FREQUENCIES_GENERATED
1743 break;
1744 }
1746 {
1747#if defined(WB_MISSION_PRIORITY_FOR_OBSTACLES_GENERATED) || defined(MISSION_PRIORITY_FOR_OBSTACLES_GENERATED) // MISSION_PRIORITY_FOR_OBSTACLES_GENERATED is legacy, don't use
1748#ifdef WB_MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT
1749#define MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT_NAME_COMPAT WB_MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT
1750#else
1751#define MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT_NAME_COMPAT MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT
1752#endif
1754#undef MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT_NAME_COMPAT
1755#else
1756 return -1;
1757#endif //WB_MISSION_PRIORITY_FOR_OBSTACLES_GENERATED
1758 break;
1759 }
1760 case kwb_WavLoad_v:
1761 {
1762 return -1; /*TODO, add support for POD types.*/
1763 break;
1764 }
1765 case kwb_WavPlay_v:
1766 {
1767 return -1; /*TODO, add support for POD types.*/
1768 break;
1769 }
1771 {
1772 return -1; /*TODO, add support for POD types.*/
1773 break;
1774 }
1776 {
1777#if defined(WB_FREQUENCY_LIMITS_GENERATED) || defined(FREQUENCY_LIMITS_GENERATED) // FREQUENCY_LIMITS_GENERATED is legacy, don't use
1778#ifdef WB_FREQUENCY_LIMITS_C_STRUCT
1779#define FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT WB_FREQUENCY_LIMITS_C_STRUCT
1780#else
1781#define FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT FREQUENCY_LIMITS_C_STRUCT
1782#endif
1784#undef FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT
1785#else
1786 return -1;
1787#endif //WB_FREQUENCY_LIMITS_GENERATED
1788 break;
1789 }
1791 {
1792#if defined(WB_FREQUENCY_LIMITS_GENERATED) || defined(FREQUENCY_LIMITS_GENERATED) // FREQUENCY_LIMITS_GENERATED is legacy, don't use
1793#ifdef WB_FREQUENCY_LIMITS_C_STRUCT
1794#define FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT WB_FREQUENCY_LIMITS_C_STRUCT
1795#else
1796#define FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT FREQUENCY_LIMITS_C_STRUCT
1797#endif
1799#undef FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT
1800#else
1801 return -1;
1802#endif //WB_FREQUENCY_LIMITS_GENERATED
1803 break;
1804 }
1806 {
1807#if defined(WB_HEAD_JOINT_SENSORS_GENERATED) || defined(HEAD_JOINT_SENSORS_GENERATED) // HEAD_JOINT_SENSORS_GENERATED is legacy, don't use
1808#ifdef WB_HEAD_JOINT_SENSORS_C_STRUCT
1809#define HEAD_JOINT_SENSORS_C_STRUCT_NAME_COMPAT WB_HEAD_JOINT_SENSORS_C_STRUCT
1810#else
1811#define HEAD_JOINT_SENSORS_C_STRUCT_NAME_COMPAT HEAD_JOINT_SENSORS_C_STRUCT
1812#endif
1814#undef HEAD_JOINT_SENSORS_C_STRUCT_NAME_COMPAT
1815#else
1816 return -1;
1817#endif //WB_HEAD_JOINT_SENSORS_GENERATED
1818 break;
1819 }
1821 {
1822#if defined(WB_ADJUST_POSITION_CONFIDENCE_GENERATED) || defined(ADJUST_POSITION_CONFIDENCE_GENERATED) // ADJUST_POSITION_CONFIDENCE_GENERATED is legacy, don't use
1823#ifdef WB_ADJUST_POSITION_CONFIDENCE_C_STRUCT
1824#define ADJUST_POSITION_CONFIDENCE_C_STRUCT_NAME_COMPAT WB_ADJUST_POSITION_CONFIDENCE_C_STRUCT
1825#else
1826#define ADJUST_POSITION_CONFIDENCE_C_STRUCT_NAME_COMPAT ADJUST_POSITION_CONFIDENCE_C_STRUCT
1827#endif
1829#undef ADJUST_POSITION_CONFIDENCE_C_STRUCT_NAME_COMPAT
1830#else
1831 return -1;
1832#endif //WB_ADJUST_POSITION_CONFIDENCE_GENERATED
1833 break;
1834 }
1836 {
1837#if defined(WB_GU_VR_TELEOP_VULKAN_CONTROL_GENERATED) || defined(GU_VR_TELEOP_VULKAN_CONTROL_GENERATED) // GU_VR_TELEOP_VULKAN_CONTROL_GENERATED is legacy, don't use
1838#ifdef WB_GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT
1839#define GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT_NAME_COMPAT WB_GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT
1840#else
1841#define GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT_NAME_COMPAT GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT
1842#endif
1844#undef GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT_NAME_COMPAT
1845#else
1846 return -1;
1847#endif //WB_GU_VR_TELEOP_VULKAN_CONTROL_GENERATED
1848 break;
1849 }
1851 {
1852#if defined(WB_TEMPERATURE_SENSORS_GENERATED) || defined(TEMPERATURE_SENSORS_GENERATED) // TEMPERATURE_SENSORS_GENERATED is legacy, don't use
1853#ifdef WB_TEMPERATURE_SENSORS_C_STRUCT
1854#define TEMPERATURE_SENSORS_C_STRUCT_NAME_COMPAT WB_TEMPERATURE_SENSORS_C_STRUCT
1855#else
1856#define TEMPERATURE_SENSORS_C_STRUCT_NAME_COMPAT TEMPERATURE_SENSORS_C_STRUCT
1857#endif
1859#undef TEMPERATURE_SENSORS_C_STRUCT_NAME_COMPAT
1860#else
1861 return -1;
1862#endif //WB_TEMPERATURE_SENSORS_GENERATED
1863 break;
1864 }
1865 case kwb_Overheating_v:
1866 {
1867#if defined(WB_OVERHEATING_GENERATED) || defined(OVERHEATING_GENERATED) // OVERHEATING_GENERATED is legacy, don't use
1868#ifdef WB_OVERHEATING_C_STRUCT
1869#define OVERHEATING_C_STRUCT_NAME_COMPAT WB_OVERHEATING_C_STRUCT
1870#else
1871#define OVERHEATING_C_STRUCT_NAME_COMPAT OVERHEATING_C_STRUCT
1872#endif
1873 return DESERIALISE(OVERHEATING_C_STRUCT_NAME_COMPAT, serialised_in, (struct OVERHEATING_C_STRUCT_NAME_COMPAT *)message_out)
1874#undef OVERHEATING_C_STRUCT_NAME_COMPAT
1875#else
1876 return -1;
1877#endif //WB_OVERHEATING_GENERATED
1878 break;
1879 }
1880 case kwb_buttonPushed_v:
1881 {
1882 return -1; /*TODO, add support for POD types.*/
1883 break;
1884 }
1885 case kwb_doorOpen_v:
1886 {
1887 return -1; /*TODO, add support for POD types.*/
1888 break;
1889 }
1890 case kwb_timeLeft_v:
1891 {
1892 return -1; /*TODO, add support for POD types.*/
1893 break;
1894 }
1895 case kwb_motor_v:
1896 {
1897 return -1; /*TODO, add support for POD types.*/
1898 break;
1899 }
1900 case kwb_sound_v:
1901 {
1902 return -1; /*TODO, add support for POD types.*/
1903 break;
1904 }
1905 case kwb_light_v:
1906 {
1907 return -1; /*TODO, add support for POD types.*/
1908 break;
1909 }
1910 case kwb_Arduino2Pin_v:
1911 {
1912 return -1; /*TODO, add support for POD types.*/
1913 break;
1914 }
1916 {
1917 return -1; /*TODO, add support for POD types.*/
1918 break;
1919 }
1920 case kwb_Arduino3Pin_v:
1921 {
1922 return -1; /*TODO, add support for POD types.*/
1923 break;
1924 }
1926 {
1927 return -1; /*TODO, add support for POD types.*/
1928 break;
1929 }
1930 case kwb_Arduino4Pin_v:
1931 {
1932 return -1; /*TODO, add support for POD types.*/
1933 break;
1934 }
1936 {
1937 return -1; /*TODO, add support for POD types.*/
1938 break;
1939 }
1940 case kwb_Arduino5Pin_v:
1941 {
1942 return -1; /*TODO, add support for POD types.*/
1943 break;
1944 }
1946 {
1947 return -1; /*TODO, add support for POD types.*/
1948 break;
1949 }
1950 case kwb_Arduino6Pin_v:
1951 {
1952 return -1; /*TODO, add support for POD types.*/
1953 break;
1954 }
1956 {
1957 return -1; /*TODO, add support for POD types.*/
1958 break;
1959 }
1960 case kwb_Arduino7Pin_v:
1961 {
1962 return -1; /*TODO, add support for POD types.*/
1963 break;
1964 }
1966 {
1967 return -1; /*TODO, add support for POD types.*/
1968 break;
1969 }
1970 case kwb_Arduino8Pin_v:
1971 {
1972 return -1; /*TODO, add support for POD types.*/
1973 break;
1974 }
1976 {
1977 return -1; /*TODO, add support for POD types.*/
1978 break;
1979 }
1980 case kwb_Arduino9Pin_v:
1981 {
1982 return -1; /*TODO, add support for POD types.*/
1983 break;
1984 }
1986 {
1987 return -1; /*TODO, add support for POD types.*/
1988 break;
1989 }
1990 case kwb_BallPosition_v:
1991 {
1992#if defined(WB_BALL_POSITION_GENERATED) || defined(BALL_POSITION_GENERATED) // BALL_POSITION_GENERATED is legacy, don't use
1993#ifdef WB_BALL_POSITION_C_STRUCT
1994#define BALL_POSITION_C_STRUCT_NAME_COMPAT WB_BALL_POSITION_C_STRUCT
1995#else
1996#define BALL_POSITION_C_STRUCT_NAME_COMPAT BALL_POSITION_C_STRUCT
1997#endif
1998 return DESERIALISE(BALL_POSITION_C_STRUCT_NAME_COMPAT, serialised_in, (struct BALL_POSITION_C_STRUCT_NAME_COMPAT *)message_out)
1999#undef BALL_POSITION_C_STRUCT_NAME_COMPAT
2000#else
2001 return -1;
2002#endif //WB_BALL_POSITION_GENERATED
2003 break;
2004 }
2006 {
2007#if defined(WB_MEMORY_IMAGE_CONTROL_STATUS_GENERATED) || defined(MEMORY_IMAGE_CONTROL_STATUS_GENERATED) // MEMORY_IMAGE_CONTROL_STATUS_GENERATED is legacy, don't use
2008#ifdef WB_MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2009#define MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT WB_MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2010#else
2011#define MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2012#endif
2014#undef MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT
2015#else
2016 return -1;
2017#endif //WB_MEMORY_IMAGE_CONTROL_STATUS_GENERATED
2018 break;
2019 }
2021 {
2022#if defined(WB_MEMORY_IMAGE_CONTROL_STATUS_GENERATED) || defined(MEMORY_IMAGE_CONTROL_STATUS_GENERATED) // MEMORY_IMAGE_CONTROL_STATUS_GENERATED is legacy, don't use
2023#ifdef WB_MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2024#define MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT WB_MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2025#else
2026#define MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2027#endif
2029#undef MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT
2030#else
2031 return -1;
2032#endif //WB_MEMORY_IMAGE_CONTROL_STATUS_GENERATED
2033 break;
2034 }
2035 case kwb_LHandGripper_v:
2036 {
2037 return -1; /*TODO, add support for POD types.*/
2038 break;
2039 }
2040 case kwb_RHandGripper_v:
2041 {
2042 return -1; /*TODO, add support for POD types.*/
2043 break;
2044 }
2045 case kwb_MyPosition_v:
2046 {
2047#if defined(WB_MY_POSITION_GENERATED) || defined(MY_POSITION_GENERATED) // MY_POSITION_GENERATED is legacy, don't use
2048#ifdef WB_MY_POSITION_C_STRUCT
2049#define MY_POSITION_C_STRUCT_NAME_COMPAT WB_MY_POSITION_C_STRUCT
2050#else
2051#define MY_POSITION_C_STRUCT_NAME_COMPAT MY_POSITION_C_STRUCT
2052#endif
2053 return DESERIALISE(MY_POSITION_C_STRUCT_NAME_COMPAT, serialised_in, (struct MY_POSITION_C_STRUCT_NAME_COMPAT *)message_out)
2054#undef MY_POSITION_C_STRUCT_NAME_COMPAT
2055#else
2056 return -1;
2057#endif //WB_MY_POSITION_GENERATED
2058 break;
2059 }
2061 {
2062#if defined(WB_VISION_DETECTION_LINES_GENERATED) || defined(VISION_DETECTION_LINES_GENERATED) // VISION_DETECTION_LINES_GENERATED is legacy, don't use
2063#ifdef WB_VISION_DETECTION_LINES_C_STRUCT
2064#define VISION_DETECTION_LINES_C_STRUCT_NAME_COMPAT WB_VISION_DETECTION_LINES_C_STRUCT
2065#else
2066#define VISION_DETECTION_LINES_C_STRUCT_NAME_COMPAT VISION_DETECTION_LINES_C_STRUCT
2067#endif
2069#undef VISION_DETECTION_LINES_C_STRUCT_NAME_COMPAT
2070#else
2071 return -1;
2072#endif //WB_VISION_DETECTION_LINES_GENERATED
2073 break;
2074 }
2076 {
2077#if defined(WB_VISION_DETECTION_FEATURES_GENERATED) || defined(VISION_DETECTION_FEATURES_GENERATED) // VISION_DETECTION_FEATURES_GENERATED is legacy, don't use
2078#ifdef WB_VISION_DETECTION_FEATURES_C_STRUCT
2079#define VISION_DETECTION_FEATURES_C_STRUCT_NAME_COMPAT WB_VISION_DETECTION_FEATURES_C_STRUCT
2080#else
2081#define VISION_DETECTION_FEATURES_C_STRUCT_NAME_COMPAT VISION_DETECTION_FEATURES_C_STRUCT
2082#endif
2084#undef VISION_DETECTION_FEATURES_C_STRUCT_NAME_COMPAT
2085#else
2086 return -1;
2087#endif //WB_VISION_DETECTION_FEATURES_GENERATED
2088 break;
2089 }
2090 }
2091#pragma clang diagnostic push
2092#pragma clang diagnostic ignored "-Wunreachable-code"
2093 /*(void) message_content;*/
2094 return -1;
2095#pragma clang diagnostic pop
2096}
2097
2098#endif //WB_GUWHITEBOARDDESERIALISER_C
2099
2100#pragma clang diagnostic pop
#define TOPPARTICLES_C_STRUCT_NAME_COMPAT
#define BALL_POSITION_C_STRUCT_NAME_COMPAT
#define MACHINE_FILTERED_VISION_C_STRUCT_NAME_COMPAT
#define NAO_OBSTACLE_DIRECTION_C_STRUCT_NAME_COMPAT
#define DOMINANT_FREQUENCIES_C_STRUCT_NAME_COMPAT
#define VISION_DETECTION_HORIZONS_C_STRUCT_NAME_COMPAT
#define TELEOPERATIONSTATUS_C_STRUCT_NAME_COMPAT
#define NAOWALKCOMMAND_C_STRUCT_NAME_COMPAT
#define OVERHEATING_C_STRUCT_NAME_COMPAT
#define BUTTONS_C_STRUCT_NAME_COMPAT
#define TELEOPERATIONCONTROL_C_STRUCT_NAME_COMPAT
#define MICROWAVE_STATUS_C_STRUCT_NAME_COMPAT
int32_t deserialisemsg(wb_types message_index, const void *serialised_in, void *message_out)
#define MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT_NAME_COMPAT
#define COUNT_C_STRUCT_NAME_COMPAT
#define GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT_NAME_COMPAT
#define DATA_LOGGER_C_STRUCT_NAME_COMPAT
#define NAOWALKSTATUS_C_STRUCT_NAME_COMPAT
#define VISION_DETECTION_GOALS_C_STRUCT_NAME_COMPAT
#define VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT
#define NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT_NAME_COMPAT
#define MY_POSITION_C_STRUCT_NAME_COMPAT
#define VISION_FIELD_FEATURES_C_STRUCT_NAME_COMPAT
#define HEAD_JOINT_SENSORS_C_STRUCT_NAME_COMPAT
#define POINT2D_C_STRUCT_NAME_COMPAT
#define MACHINE_FILTERED_LINES_C_STRUCT_NAME_COMPAT
#define VISION_DETECTION_BALLS_C_STRUCT_NAME_COMPAT
#define VISION_LINES_C_STRUCT_NAME_COMPAT
#define LOCATION_C_STRUCT_NAME_COMPAT
#define TELEOPERATIONCONTROLVR_C_STRUCT_NAME_COMPAT
#define ADJUST_POSITION_CONFIDENCE_C_STRUCT_NAME_COMPAT
#define MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT_NAME_COMPAT
#define MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT
#define FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT
#define TEMPERATURE_SENSORS_C_STRUCT_NAME_COMPAT
#define DESERIALISE(_struct,...)
#define VISION_DETECTION_FEATURES_C_STRUCT_NAME_COMPAT
#define VISION_DETECTION_LINES_C_STRUCT_NAME_COMPAT
wb_types
All the message 'types' for the class based whiteboard.
@ kwb_DifferentialRobotControl_v
Class that sends commands to the robot from the whiteboard.
@ kwb_Arduino8Pin_v
The status of the 8 pin for the arduino.
@ kwb_HAL_LLegTarget_Ctrl_v
Used to control the left leg via DCM.
@ kwb_GoalLocation_v
Location of the goal.
@ kwb_FrequencyControl_v
Frequency limits control message for FFT analysis.
@ kwb_Print_v
print to stdout
@ kwb_SLOT_UNUSED_v
IoT message removed, feel free to use this slot.
@ kwb_SensorsJointCurrent_v
Posts the current flowing through each joint via the DCM loop (read only)
@ kwb_MachineFilteredLocalisationVision_v
Vision filtering and distance estimates for landmarks: goal, lines and horizon.
@ kwb_HAL_LLegTarget_Tolr_v
Used to set the joing angle tolerance for motion completion detection.
@ kwb_WEBOTS_NXT_vector_bridge_v
Class that will define actuators for the Diferential motor bridge.
@ kwb_AmberEWon_v
status of the EWamber light
@ kwb_FSM_Names_v
Request or return the names of the currently loaded FSMs. End of list is denoted by an empty string....
@ kwb_Overheating_v
The fake combined status of the temperature sensors in the nao legs - FOR RESEARCH ONLY.
@ kwb_VisionStatus_v
Posted by guvision once per pipeline iteration to report various paramaters.
@ kwb_Arduino8PinValue_v
The value of the 8 pin for the arduino.
@ kwb_Giraff_Interface_Command_v
Serial interface for the main motor and sensor board of the giraff.
@ kwb_TeleoperationControlVR_v
Virtual Reality extended class.
@ kwb_NaoWalkStatus_v
Status class for the latest version of the UNSW 2014 walk engine.
@ kwb_doorOpen_v
The time remaining in the microwave - swiftfsm.
@ kwb_Arduino4Pin_v
The status of the 4 pin for the arduino.
@ kwb_HAL_RArmTarget_Ctrl_v
Used to control the right arm via DCM.
@ kwb_SpeechOutput_v
toggle, treat speech messages as silent output unless this is turned on
@ kwb_SENSORSLegJointTemps_v
Posts the temperature of the leg joints via the DCM loop (read only)
@ kwb_QSpeech_v
debug speech message (queued)
@ kwb_VisionGoals_v
Class that reports the goals that vision sees.
@ kwb_Giraff_Interface_Status_v
Serial interface for the main motor and sensor board of the giraff.
@ kwb_TeleoperationConnection_v
Integer indication which remote whiteboard teleoperation instructions are on.
@ kwb_MicrowaveStatus_v
External Variables for the One Minute Microwave.
@ kwb_MachineFilteredLines_v
Vision filtering and distance estimates for lines.
@ kwb_GCGameState_v
game state as posted by the game controller state machine
@ kwb_WEBOTS_NXT_bumper_v
Class that contains data from 2 rouch sensors in an NXT bumper by the bridge.
@ kwb_Ball_Color_Num_v
number for each ball color as defined in STEM6Master
@ kwb_GreenEWon_v
status of the EWgreen light
@ kwb_SensorsHandSensors_v
Posts the sensor information for the hands via the DCM loop (read only)
@ kwb_TopVisionLines_v
Class that reports the lines that vision sees in the top camera.
@ kwb_SENSORSSonarSensors_v
Posts the sonar readings via the DCM loop (read only)
@ kwb_Oculus_Prime_Command_v
Serial interface for the main motor and sensor board of the oculus prime.
@ kwb_BottomVisionLines_v
Class that reports the lines that vision sees in the bottom camera.
@ kwb_DominantFrequencies_v
Dominant frequencies and RMS levels for the four microphones.
@ kwb_GuVrTeleopVulkanControl_v
Control message for commands from the Vulkan VR teleop app.
@ kwb_NAO_State_v
Stores the orientation of the robot as well as the chest button status (more to come).
@ kwb_timeLeft_v
The time remaining in the microwave - swiftfsm.
@ kwb_FSOsighting_v
Class that contains the Karman filtered SONAR objects after a sighting.
@ kwb_VisionDetectionHorizons_v
Class that reports the edge of an SPL field (the edge of the green bit). Array of two values,...
@ kwb_HAL_RLegTarget_Stat_v
Used to report DCM status of the right leg.
@ kwb_MachineFilteredNaoVision_v
Vision filtering and distance estimates.
@ kwb_Arduino4PinValue_v
The value of the 4 pin for the arduino.
@ kwb_TurnRedEW_v
second status of the recommendaiton of the EW light
@ kwb_MyPosition_v
Location of the robot relative to where it started.
@ kwb_FSM_Status_v
Current status indicating the suspended state of all FSMs. The highest bit that is always set is the ...
@ kwb_Ball_Calibration_File_v
name of DLC file to load for STEM6 DetectBallColor
@ kwb_GreenNSon_v
status of the NSgreen light
@ kwb_TeleoperationControl_v
Control message for teleop VR app.
@ kwb_ReproduceWavNotSilent_v
toggle, treat request to play wav file as silent output unless this is turned on but can be overwritt...
@ kwb_TeleoperationStatus_v
Status message for teleop VR app.
@ kwb_RightGoalPostLocation_v
Location of the right goal post.
@ kwb_APM_Status_v
Contains sensor data from an APM.
@ kwb_VisionFieldFeatures_v
Posts information from vision about field corners and intersections.
@ kwb_WavPlay_v
forced, treat request to play wav file as forced output and sound will come out even if reproduce on ...
@ kwb_WEBOTS_NXT_camera_v
Class that contains data from cameta channels of WEBOTS trough a bridge.
@ kwb_Speech_v
debug speech message
@ kwb_WalkData_v
Class to report Walk Data.
@ kwb_ParticleOutputMap_v
Contains a path to a file containing the list of particles posted by the particle filter.
@ kwb_WEBOTS_NXT_encoders_v
Class that contains data from encoders all for WEBOTS or NXt trough a bridge.
@ kwb_HAL_HeadTarget_v
Used to alter the head position via the DCM.
@ kwb_Arduino2Pin_v
The status of the 2 pin for the arduino.
@ kwb_MOTION_Status_v
WB interface for checking the status of commands sent.
@ kwb_Clocks_v
Class for keeping track of time.
@ kwb_FSM_Control_v
Suspend, Resume, or Restart a finite state machine (clfsm)
@ kwb_SwitchSubsumption_v
Uncommented.
@ kwb_VisionBall_v
Class that reports the ball that vision sees.
@ kwb_VolumeControl_v
Variable used by SMVolumeController to control the volume via pulse audio commands.
@ kwb_TeleoperationControlStatus_v
Class for sending teleoperation commands.
@ kwb_WEBOTS_NXT_deadReakoning_walk_v
Class for dead reckoning walks in WEBOTS trough a bridge.
@ kwb_UDPWBNumber_v
ID number being used to broadcast udp whiteboard.
@ kwb_HAL_RArmTarget_Stat_v
Used to report DCM status of the right arm.
@ kwb_TimeGTfive_v
status of the timer with respect to 5
@ kwb_Arduino6Pin_v
The status of the 6 pin for the arduino.
@ kwb_FilteredGoalSighting_v
Class that contains the Kalman filtered goal objects after sighting from vision.
@ kwb_SensorsFootSensors_v
Posts the sensor information for the feet via the DCM loop (read only)
@ kwb_LHandGripper_v
0 is closed 100 is fully open (left hand).
@ kwb_HAL_RLegTarget_Tolr_v
Used to set the joing angle tolerance for motion completion detection.
@ kwb_MemoryImageStatus_v
Status of what resolution and format memory images are being posted as.
@ kwb_HAL_RLegTarget_Ctrl_v
Used to control the right leg via DCM.
@ kwb_OculusPrime_Command_v
Class used to control the Oculus Prime movements, controls etc.
@ kwb_MemoryImageControl_v
Control at what resolution and format memory images need to be posted as.
@ kwb_NXT_Command_v
Can issue commands to set the motors of an NXT and reset the encoders.
@ kwb_PF_ControlStatus_Modes_v
what to post in the whiteboard to cause the Particle Filetr to reset, but running has no effect,...
@ kwb_FFTStatus_v
stereo channel RMS and list of dominant frequencies from FFT
@ kwb_light_v
The light actuator for the microwave - swiftfsm.
@ kwb_Arduino9PinValue_v
The value of the 9 pin for the arduino.
@ kwb_CBall_v
Status Message for the color of the ball.
@ kwb_Arduino9Pin_v
The status of the 9 pin for the arduino.
@ kwb_VisionControl_v
Used to set various paramaters of guvision.
@ kwb_VisionFace_v
Face seen by Vision.
@ kwb_HeadJointSensors_v
Status of the head sensors in degrees.
@ kwb_Arduino6PinValue_v
The value of the 6 pin for the arduino.
@ kwb_WarnNS_v
status of the recommendaiton of the NS light
@ kwb_SENSORSLegJointSensors_v
Posts the joint angles of the legs via the DCM loop (read only)
@ kwb_SENSORSTorsoJointSensors_v
Posts the joint angles of the torso via the DCM loop (read only)
@ kwb_XEyesPos_v
Just a hook for an xeyes interface.
@ kwb_APM_Command_v
Can issue commands to an APM.
@ kwb_TopParticles_v
Class that contains the top particles for possible robot positions.
@ kwb_NXT_Sound_Control_v
Class that produces NXT's sounds.
@ kwb_QSay_v
speech output message (queued)
@ kwb_TurnRedNS_v
second status of the recommendaiton of the NS light
@ kwb_WEBOTS_NXT_colorLine_walk_v
Class for commands followign a line in WEBOTS trough a bridge.
@ kwb_WhistleBlown_v
Whistle blown flag.
@ kwb_SensorsHeadSensors_v
Posts the sensor information for the head via the DCM loop (read only)
@ kwb_buttonPushed_v
The time remaining in the microwave - swiftfsm.
@ kwb_WEBOTS_NXT_gridMotions_v
Class for walks on a grid of colored lines for WEBOTS trough a bridge.
@ kwb_Draw_v
Used by the half made GUDraw module in posix.
@ kwb_ParticleOutputMapControl_v
Posted by readers of the particles list to notify the filter to swap buffers.
@ kwb_WarnEW_v
status of the recommendaiton of the EW light
@ kwb_AmberNSon_v
status of the NSamber light
@ kwb_motor_v
The motor actuator for the microwave - swiftfsm.
@ kwb_NaoSonarProtectedWalkCommand_v
Send walk protected by sonar.
@ kwb_WEBOTS_NXT_walk_isRunning_v
Class that contains boolean for checking if motion walks is running in WEBOTS trough a bridge.
@ kwb_Input3D_v
for 3d input devices such as the leap or a joystick
@ kwb_Arduino5PinValue_v
The value of the 5 pin for the arduino.
@ kwb_VisionDetectionBalls_v
Reports robocup spl ball found with guvision and BallRayTracer.
@ kwb_Arduino7Pin_v
The status of the 7 pin for the arduino.
@ kwb_Arduino2PinValue_v
The value of the 2 pin for the arduino.
@ kwb_TimeGTthirty_v
status of the timer with respect to 30
@ kwb_NaoObstacleDirection_v
Send general direction if obstacle.
@ kwb_MOTION_Commands_v
WB interface for sending motion commands.
@ kwb_IOPins_v
Arduino-style I/O pins.
@ kwb_HAL_RArmTarget_Tolr_v
Used to set the joing angle tolerance for motion completion detection.
@ kwb_NXT_Two_Touch_Status_v
Class that reads NXT's two buttons.
@ kwb_ManuallyPenalized_v
what player number is this robot wearing at RoboCup in its back whn manually penalized,...
@ kwb_Channels_v
UPPAAL-Style synchronisation channels.
@ kwb_FilteredBallSighting_v
Class that contains the Kalman filtered top and bottom ball objects after sighting from vision.
@ kwb_SENSORSTorsoJointTemps_v
Posts the temperature of the torso joints via the DCM loop (read only)
@ kwb_FFTControl_v
Turn on or off the FFT module.
@ kwb_Buttons_v
External Variables for the Incrementing LLFSM.
@ kwb_WEBOTS_NXT_bridge_v
WIP Class that contains a command for WEBOTS or NXt trough a bridge.
@ kwb_Arduino7PinValue_v
The value of the 7 pin for the arduino.
@ kwb_TimerReset_v
flag to reset timer
@ kwb_Say_v
speech output message
@ kwb_RHandGripper_v
0 is closed 100 is fully open (right hand).
@ kwb_BallPosition_v
The position and orientation of the ball on the soccer field.
@ kwb_CarSensorPressed_v
flag to indicate status of sensor for cars
@ kwb_PlayerNumber_v
what player number is this robot wearing at RoboCup in its back, retrieved from data/playernumber and...
@ kwb_Arduino3Pin_v
The status of the 3 pin for the arduino.
@ kwb_sound_v
The alarm actuator for the microwave - swiftfsm.
@ kwb_REMOVED4_v
Old class, can be removed from tsl file during the next wb version bump.
@ kwb_VisionRobots_v
Class that reports the robots that vision sees.
@ kwb_HAL_LArmTarget_Ctrl_v
Used to control the left arm via DCM.
@ kwb_DifferentialRobotStatus_v
Class that reads differential robot status.
@ kwb_NaoWalkCommand_v
Class that controls the latest version of the UNSW 2014 walk engine.
@ kwb_SoloTypeExample_v
This is an example of a type definition that does not generate anything other than a wb type.
@ kwb_VisionDetectionGoals_v
Reports robocup spl goals found with guvision and GoalRayTracer.
@ kwb_AdjustPositionConfidence_v
Changes the confidence of objects being tracked.
@ kwb_wb_reserved_SubscribeToAllTypes_v
Global subscription type. Do not add content to this type, it is for global subscriptions only.
@ kwb_FrequencyStatus_v
Current Frequency limits (status) for FFT analysis.
@ kwb_SENSORSLedsSensors_v
Posts the current LEDs info, can be modified. (read/write)
@ kwb_TotoDoingMotion_v
Uncommented.
@ kwb_LeftGoalPostLocation_v
Location of the left goal post.
@ kwb_HAL_LLegTarget_Stat_v
Used to report DCM status of the left leg.
@ kwb_NXT_Status_v
Contains sensor data as well as motor encoder data from the objects attached to an NXT.
@ kwb_Arduino3PinValue_v
The value of the 3 pin for the arduino.
@ kwb_SensorsBodySensors_v
Posts the sensor information for the body via the DCM loop (read only)
@ kwb_TemperatureSensors_v
The fake status of the temperature sensors in the nao legs - FOR RESEARCH ONLY.
@ kwb_REMOVED3_v
Old class, can be removed from tsl file during the next wb version bump.
@ kwb_Ball_Found_v
whether ball is detected in STEM6 DetectBallColor
@ kwb_RedEWon_v
status of the EWred light
@ kwb_Count_v
Uncommented.
@ kwb_NXT_Lights_Control_v
Class that places power in NXT's for lights.
@ kwb_Arduino5Pin_v
The status of the 5 pin for the arduino.
@ kwb_VisionDetectionFeatures_v
Reports robocup field features found with guvision and FeatureDetector.
@ kwb_WavLoad_v
request to load a wav file
@ kwb_DataLogger_v
Controls the data logging within Naoqi Interface.
@ kwb_FSM_States_v
Idempotent Message publicising the state -about to be executed- (0-254) of up-to the first 128 machin...
@ kwb_HAL_LArmTarget_Tolr_v
Used to set the joing angle tolerance for motion completion detection.
@ kwb_HAL_LArmTarget_Stat_v
Used to report DCM status of the left arm.
@ kwb_Ball_Calibration_Num_v
number (size_t) to load with DLC file for STEM6 DetectBallColor
@ kwb_RedNSon_v
status of the NSred light
@ kwb_UDPRN_v
game state notfication from the UDP receiver.
@ kwb_BallLocation_v
Location of the ball.
@ kwb_VisionDetectionLines_v
Reports robocup field lines found with guvision and LineRayTracer.
@ kwb_MissionPriorityForObstacles_v
notify trough the whiteboard the priority of the mission, high for chasing the ball,...
@ kwb_SwitchSubsumptionTrafficLights_v
no comment entered