gusimplewhiteboard
guwhiteboardserialiser.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_GUWHITEBOARDSERIALISER_C
18#define WB_GUWHITEBOARDSERIALISER_C
19
20
21#define WHITEBOARD_SERIALISER
22
23#define COMPRESSION_CALL(...) _to_network_serialised(__VA_ARGS__);
24#define COMPRESSION_FUNC_(s, p) s ## p
25#define COMPRESSION_FUNC(s, p) COMPRESSION_FUNC_(s, p)
26#define SERIALISE(_struct, ...) COMPRESSION_FUNC(_struct, COMPRESSION_CALL(__VA_ARGS__))
27
30
31int32_t serialisemsg(wb_types message_index, const void *message_in, void *serialised_out)
32{
33 switch (message_index)
34 {
35
37 {
38 return -1; /*TODO, add support for POD types.*/
39 break;
40 }
41 case kwb_Print_v:
42 {
43 return -1; /*TODO, add support for POD types.*/
44 break;
45 }
46 case kwb_Say_v:
47 {
48 return -1; /*TODO, add support for POD types.*/
49 break;
50 }
51 case kwb_Speech_v:
52 {
53 return -1; /*TODO, add support for POD types.*/
54 break;
55 }
56 case kwb_QSay_v:
57 {
58 return -1; /*TODO, add support for POD types.*/
59 break;
60 }
61 case kwb_QSpeech_v:
62 {
63 return -1; /*TODO, add support for POD types.*/
64 break;
65 }
67 {
68 return -1; /*TODO, add support for POD types.*/
69 break;
70 }
72 {
73#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(GCGAMESTATE_GENERATED) // GCGAMESTATE_GENERATED is legacy, don't use
74#ifdef NotSupportedWithLegacyNaming
75#define GCGAMESTATE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
76#else
77#define GCGAMESTATE_C_STRUCT_NAME_COMPAT GCGAMESTATE_C_STRUCT
78#endif
79 return SERIALISE(GCGAMESTATE_C_STRUCT_NAME_COMPAT, (struct GCGAMESTATE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
80#undef GCGAMESTATE_C_STRUCT_NAME_COMPAT
81#else
82 return -1;
83#endif //SerialisationNotSupportedWithLegacyNaming
84 break;
85 }
87 {
88#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSHANDSENSORS_GENERATED) // SENSORSHANDSENSORS_GENERATED is legacy, don't use
89#ifdef NotSupportedWithLegacyNaming
90#define SENSORSHANDSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
91#else
92#define SENSORSHANDSENSORS_C_STRUCT_NAME_COMPAT SENSORSHANDSENSORS_C_STRUCT
93#endif
94 return SERIALISE(SENSORSHANDSENSORS_C_STRUCT_NAME_COMPAT, (struct SENSORSHANDSENSORS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
95#undef SENSORSHANDSENSORS_C_STRUCT_NAME_COMPAT
96#else
97 return -1;
98#endif //SerialisationNotSupportedWithLegacyNaming
99 break;
100 }
102 {
103#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSHEADSENSORS_GENERATED) // SENSORSHEADSENSORS_GENERATED is legacy, don't use
104#ifdef NotSupportedWithLegacyNaming
105#define SENSORSHEADSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
106#else
107#define SENSORSHEADSENSORS_C_STRUCT_NAME_COMPAT SENSORSHEADSENSORS_C_STRUCT
108#endif
109 return SERIALISE(SENSORSHEADSENSORS_C_STRUCT_NAME_COMPAT, (struct SENSORSHEADSENSORS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
110#undef SENSORSHEADSENSORS_C_STRUCT_NAME_COMPAT
111#else
112 return -1;
113#endif //SerialisationNotSupportedWithLegacyNaming
114 break;
115 }
117 {
118#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(MOTION_COMMANDS_GENERATED) // MOTION_COMMANDS_GENERATED is legacy, don't use
119#ifdef NotSupportedWithLegacyNaming
120#define MOTION_COMMANDS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
121#else
122#define MOTION_COMMANDS_C_STRUCT_NAME_COMPAT MOTION_COMMANDS_C_STRUCT
123#endif
124 return SERIALISE(MOTION_COMMANDS_C_STRUCT_NAME_COMPAT, (struct MOTION_COMMANDS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
125#undef MOTION_COMMANDS_C_STRUCT_NAME_COMPAT
126#else
127 return -1;
128#endif //SerialisationNotSupportedWithLegacyNaming
129 break;
130 }
132 {
133#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(MOTION_STATUS_GENERATED) // MOTION_STATUS_GENERATED is legacy, don't use
134#ifdef NotSupportedWithLegacyNaming
135#define MOTION_STATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
136#else
137#define MOTION_STATUS_C_STRUCT_NAME_COMPAT MOTION_STATUS_C_STRUCT
138#endif
139 return SERIALISE(MOTION_STATUS_C_STRUCT_NAME_COMPAT, (struct MOTION_STATUS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
140#undef MOTION_STATUS_C_STRUCT_NAME_COMPAT
141#else
142 return -1;
143#endif //SerialisationNotSupportedWithLegacyNaming
144 break;
145 }
147 {
148#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HAL_HEADTARGET_GENERATED) // HAL_HEADTARGET_GENERATED is legacy, don't use
149#ifdef NotSupportedWithLegacyNaming
150#define HAL_HEADTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
151#else
152#define HAL_HEADTARGET_C_STRUCT_NAME_COMPAT HAL_HEADTARGET_C_STRUCT
153#endif
154 return SERIALISE(HAL_HEADTARGET_C_STRUCT_NAME_COMPAT, (struct HAL_HEADTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
155#undef HAL_HEADTARGET_C_STRUCT_NAME_COMPAT
156#else
157 return -1;
158#endif //SerialisationNotSupportedWithLegacyNaming
159 break;
160 }
162 {
163#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSFOOTSENSORS_GENERATED) // SENSORSFOOTSENSORS_GENERATED is legacy, don't use
164#ifdef NotSupportedWithLegacyNaming
165#define SENSORSFOOTSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
166#else
167#define SENSORSFOOTSENSORS_C_STRUCT_NAME_COMPAT SENSORSFOOTSENSORS_C_STRUCT
168#endif
169 return SERIALISE(SENSORSFOOTSENSORS_C_STRUCT_NAME_COMPAT, (struct SENSORSFOOTSENSORS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
170#undef SENSORSFOOTSENSORS_C_STRUCT_NAME_COMPAT
171#else
172 return -1;
173#endif //SerialisationNotSupportedWithLegacyNaming
174 break;
175 }
177 {
178#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSBODYSENSORS_GENERATED) // SENSORSBODYSENSORS_GENERATED is legacy, don't use
179#ifdef NotSupportedWithLegacyNaming
180#define SENSORSBODYSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
181#else
182#define SENSORSBODYSENSORS_C_STRUCT_NAME_COMPAT SENSORSBODYSENSORS_C_STRUCT
183#endif
184 return SERIALISE(SENSORSBODYSENSORS_C_STRUCT_NAME_COMPAT, (struct SENSORSBODYSENSORS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
185#undef SENSORSBODYSENSORS_C_STRUCT_NAME_COMPAT
186#else
187 return -1;
188#endif //SerialisationNotSupportedWithLegacyNaming
189 break;
190 }
192 {
193#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSLEDSSENSORS_GENERATED) // SENSORSLEDSSENSORS_GENERATED is legacy, don't use
194#ifdef NotSupportedWithLegacyNaming
195#define SENSORSLEDSSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
196#else
197#define SENSORSLEDSSENSORS_C_STRUCT_NAME_COMPAT SENSORSLEDSSENSORS_C_STRUCT
198#endif
199 return SERIALISE(SENSORSLEDSSENSORS_C_STRUCT_NAME_COMPAT, (struct SENSORSLEDSSENSORS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
200#undef SENSORSLEDSSENSORS_C_STRUCT_NAME_COMPAT
201#else
202 return -1;
203#endif //SerialisationNotSupportedWithLegacyNaming
204 break;
205 }
207 {
208#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSLEGJOINTTEMPS_GENERATED) // SENSORSLEGJOINTTEMPS_GENERATED is legacy, don't use
209#ifdef NotSupportedWithLegacyNaming
210#define SENSORSLEGJOINTTEMPS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
211#else
212#define SENSORSLEGJOINTTEMPS_C_STRUCT_NAME_COMPAT SENSORSLEGJOINTTEMPS_C_STRUCT
213#endif
214 return SERIALISE(SENSORSLEGJOINTTEMPS_C_STRUCT_NAME_COMPAT, (struct SENSORSLEGJOINTTEMPS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
215#undef SENSORSLEGJOINTTEMPS_C_STRUCT_NAME_COMPAT
216#else
217 return -1;
218#endif //SerialisationNotSupportedWithLegacyNaming
219 break;
220 }
222 {
223#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSTORSOJOINTTEMPS_GENERATED) // SENSORSTORSOJOINTTEMPS_GENERATED is legacy, don't use
224#ifdef NotSupportedWithLegacyNaming
225#define SENSORSTORSOJOINTTEMPS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
226#else
227#define SENSORSTORSOJOINTTEMPS_C_STRUCT_NAME_COMPAT SENSORSTORSOJOINTTEMPS_C_STRUCT
228#endif
229 return SERIALISE(SENSORSTORSOJOINTTEMPS_C_STRUCT_NAME_COMPAT, (struct SENSORSTORSOJOINTTEMPS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
230#undef SENSORSTORSOJOINTTEMPS_C_STRUCT_NAME_COMPAT
231#else
232 return -1;
233#endif //SerialisationNotSupportedWithLegacyNaming
234 break;
235 }
237 {
238#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSLEGJOINTSENSORS_GENERATED) // SENSORSLEGJOINTSENSORS_GENERATED is legacy, don't use
239#ifdef NotSupportedWithLegacyNaming
240#define SENSORSLEGJOINTSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
241#else
242#define SENSORSLEGJOINTSENSORS_C_STRUCT_NAME_COMPAT SENSORSLEGJOINTSENSORS_C_STRUCT
243#endif
244 return SERIALISE(SENSORSLEGJOINTSENSORS_C_STRUCT_NAME_COMPAT, (struct SENSORSLEGJOINTSENSORS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
245#undef SENSORSLEGJOINTSENSORS_C_STRUCT_NAME_COMPAT
246#else
247 return -1;
248#endif //SerialisationNotSupportedWithLegacyNaming
249 break;
250 }
252 {
253#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSTORSOJOINTSENSORS_GENERATED) // SENSORSTORSOJOINTSENSORS_GENERATED is legacy, don't use
254#ifdef NotSupportedWithLegacyNaming
255#define SENSORSTORSOJOINTSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
256#else
257#define SENSORSTORSOJOINTSENSORS_C_STRUCT_NAME_COMPAT SENSORSTORSOJOINTSENSORS_C_STRUCT
258#endif
259 return SERIALISE(SENSORSTORSOJOINTSENSORS_C_STRUCT_NAME_COMPAT, (struct SENSORSTORSOJOINTSENSORS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
260#undef SENSORSTORSOJOINTSENSORS_C_STRUCT_NAME_COMPAT
261#else
262 return -1;
263#endif //SerialisationNotSupportedWithLegacyNaming
264 break;
265 }
267 {
268#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SENSORSSONARSENSORS_GENERATED) // SENSORSSONARSENSORS_GENERATED is legacy, don't use
269#ifdef NotSupportedWithLegacyNaming
270#define SENSORSSONARSENSORS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
271#else
272#define SENSORSSONARSENSORS_C_STRUCT_NAME_COMPAT SENSORSSONARSENSORS_C_STRUCT
273#endif
274 return SERIALISE(SENSORSSONARSENSORS_C_STRUCT_NAME_COMPAT, (struct SENSORSSONARSENSORS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
275#undef SENSORSSONARSENSORS_C_STRUCT_NAME_COMPAT
276#else
277 return -1;
278#endif //SerialisationNotSupportedWithLegacyNaming
279 break;
280 }
282 {
283#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FSMCONTROLSTATUS_GENERATED) // FSMCONTROLSTATUS_GENERATED is legacy, don't use
284#ifdef NotSupportedWithLegacyNaming
285#define FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
286#else
287#define FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT FSMCONTROLSTATUS_C_STRUCT
288#endif
289 return SERIALISE(FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT, (struct FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
290#undef FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT
291#else
292 return -1;
293#endif //SerialisationNotSupportedWithLegacyNaming
294 break;
295 }
296 case kwb_FSM_Status_v:
297 {
298#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FSMCONTROLSTATUS_GENERATED) // FSMCONTROLSTATUS_GENERATED is legacy, don't use
299#ifdef NotSupportedWithLegacyNaming
300#define FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
301#else
302#define FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT FSMCONTROLSTATUS_C_STRUCT
303#endif
304 return SERIALISE(FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT, (struct FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
305#undef FSMCONTROLSTATUS_C_STRUCT_NAME_COMPAT
306#else
307 return -1;
308#endif //SerialisationNotSupportedWithLegacyNaming
309 break;
310 }
311 case kwb_FSM_Names_v:
312 {
313#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FSMNAMES_GENERATED) // FSMNAMES_GENERATED is legacy, don't use
314#ifdef NotSupportedWithLegacyNaming
315#define FSMNAMES_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
316#else
317#define FSMNAMES_C_STRUCT_NAME_COMPAT FSMNAMES_C_STRUCT
318#endif
319 return SERIALISE(FSMNAMES_C_STRUCT_NAME_COMPAT, (struct FSMNAMES_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
320#undef FSMNAMES_C_STRUCT_NAME_COMPAT
321#else
322 return -1;
323#endif //SerialisationNotSupportedWithLegacyNaming
324 break;
325 }
327 {
328 return -1; /*TODO, add support for POD types.*/
329 break;
330 }
332 {
333#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FILTEREDARRAYONEDIMOBJECTS_GENERATED) // FILTEREDARRAYONEDIMOBJECTS_GENERATED is legacy, don't use
334#ifdef NotSupportedWithLegacyNaming
335#define FILTEREDARRAYONEDIMOBJECTS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
336#else
337#define FILTEREDARRAYONEDIMOBJECTS_C_STRUCT_NAME_COMPAT FILTEREDARRAYONEDIMOBJECTS_C_STRUCT
338#endif
339 return SERIALISE(FILTEREDARRAYONEDIMOBJECTS_C_STRUCT_NAME_COMPAT, (struct FILTEREDARRAYONEDIMOBJECTS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
340#undef FILTEREDARRAYONEDIMOBJECTS_C_STRUCT_NAME_COMPAT
341#else
342 return -1;
343#endif //SerialisationNotSupportedWithLegacyNaming
344 break;
345 }
346 case kwb_NAO_State_v:
347 {
348#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NAO_STATE_GENERATED) // NAO_STATE_GENERATED is legacy, don't use
349#ifdef NotSupportedWithLegacyNaming
350#define NAO_STATE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
351#else
352#define NAO_STATE_C_STRUCT_NAME_COMPAT NAO_STATE_C_STRUCT
353#endif
354 return SERIALISE(NAO_STATE_C_STRUCT_NAME_COMPAT, (struct NAO_STATE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
355#undef NAO_STATE_C_STRUCT_NAME_COMPAT
356#else
357 return -1;
358#endif //SerialisationNotSupportedWithLegacyNaming
359 break;
360 }
361 case kwb_UDPRN_v:
362 {
363#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(GCGAMESTATE_GENERATED) // GCGAMESTATE_GENERATED is legacy, don't use
364#ifdef NotSupportedWithLegacyNaming
365#define GCGAMESTATE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
366#else
367#define GCGAMESTATE_C_STRUCT_NAME_COMPAT GCGAMESTATE_C_STRUCT
368#endif
369 return SERIALISE(GCGAMESTATE_C_STRUCT_NAME_COMPAT, (struct GCGAMESTATE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
370#undef GCGAMESTATE_C_STRUCT_NAME_COMPAT
371#else
372 return -1;
373#endif //SerialisationNotSupportedWithLegacyNaming
374 break;
375 }
377 {
378 return -1; /*TODO, add support for POD types.*/
379 break;
380 }
382 {
383 return -1; /*TODO, add support for POD types.*/
384 break;
385 }
387 {
388#if defined(WB_VISION_CONTROL_STATUS_GENERATED) || defined(VISION_CONTROL_STATUS_GENERATED) // VISION_CONTROL_STATUS_GENERATED is legacy, don't use
389#ifdef WB_VISION_CONTROL_STATUS_C_STRUCT
390#define VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT WB_VISION_CONTROL_STATUS_C_STRUCT
391#else
392#define VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT VISION_CONTROL_STATUS_C_STRUCT
393#endif
395#undef VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT
396#else
397 return -1;
398#endif //WB_VISION_CONTROL_STATUS_GENERATED
399 break;
400 }
402 {
403#if defined(WB_VISION_CONTROL_STATUS_GENERATED) || defined(VISION_CONTROL_STATUS_GENERATED) // VISION_CONTROL_STATUS_GENERATED is legacy, don't use
404#ifdef WB_VISION_CONTROL_STATUS_C_STRUCT
405#define VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT WB_VISION_CONTROL_STATUS_C_STRUCT
406#else
407#define VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT VISION_CONTROL_STATUS_C_STRUCT
408#endif
410#undef VISION_CONTROL_STATUS_C_STRUCT_NAME_COMPAT
411#else
412 return -1;
413#endif //WB_VISION_CONTROL_STATUS_GENERATED
414 break;
415 }
416 case kwb_FFTStatus_v:
417 {
418#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FFTSTATUS_GENERATED) // FFTSTATUS_GENERATED is legacy, don't use
419#ifdef NotSupportedWithLegacyNaming
420#define FFTSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
421#else
422#define FFTSTATUS_C_STRUCT_NAME_COMPAT FFTSTATUS_C_STRUCT
423#endif
424 return SERIALISE(FFTSTATUS_C_STRUCT_NAME_COMPAT, (struct FFTSTATUS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
425#undef FFTSTATUS_C_STRUCT_NAME_COMPAT
426#else
427 return -1;
428#endif //SerialisationNotSupportedWithLegacyNaming
429 break;
430 }
432 {
433#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FILTEREDARRAYONEDIMSONAR_GENERATED) // FILTEREDARRAYONEDIMSONAR_GENERATED is legacy, don't use
434#ifdef NotSupportedWithLegacyNaming
435#define FILTEREDARRAYONEDIMSONAR_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
436#else
437#define FILTEREDARRAYONEDIMSONAR_C_STRUCT_NAME_COMPAT FILTEREDARRAYONEDIMSONAR_C_STRUCT
438#endif
439 return SERIALISE(FILTEREDARRAYONEDIMSONAR_C_STRUCT_NAME_COMPAT, (struct FILTEREDARRAYONEDIMSONAR_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
440#undef FILTEREDARRAYONEDIMSONAR_C_STRUCT_NAME_COMPAT
441#else
442 return -1;
443#endif //SerialisationNotSupportedWithLegacyNaming
444 break;
445 }
447 {
448#if defined(WB_TOPPARTICLES_GENERATED) || defined(TOPPARTICLES_GENERATED) // TOPPARTICLES_GENERATED is legacy, don't use
449#ifdef WB_TOPPARTICLES_C_STRUCT
450#define TOPPARTICLES_C_STRUCT_NAME_COMPAT WB_TOPPARTICLES_C_STRUCT
451#else
452#define TOPPARTICLES_C_STRUCT_NAME_COMPAT TOPPARTICLES_C_STRUCT
453#endif
454 return SERIALISE(TOPPARTICLES_C_STRUCT_NAME_COMPAT, (struct TOPPARTICLES_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
455#undef TOPPARTICLES_C_STRUCT_NAME_COMPAT
456#else
457 return -1;
458#endif //WB_TOPPARTICLES_GENERATED
459 break;
460 }
462 {
463#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FILTEREDARRAYBALLSIGHTINGS_GENERATED) // FILTEREDARRAYBALLSIGHTINGS_GENERATED is legacy, don't use
464#ifdef NotSupportedWithLegacyNaming
465#define FILTEREDARRAYBALLSIGHTINGS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
466#else
467#define FILTEREDARRAYBALLSIGHTINGS_C_STRUCT_NAME_COMPAT FILTEREDARRAYBALLSIGHTINGS_C_STRUCT
468#endif
469 return SERIALISE(FILTEREDARRAYBALLSIGHTINGS_C_STRUCT_NAME_COMPAT, (struct FILTEREDARRAYBALLSIGHTINGS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
470#undef FILTEREDARRAYBALLSIGHTINGS_C_STRUCT_NAME_COMPAT
471#else
472 return -1;
473#endif //SerialisationNotSupportedWithLegacyNaming
474 break;
475 }
477 {
478 return -1; /*TODO, add support for POD types.*/
479 break;
480 }
482 {
483#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_BRIDGE_GENERATED) // WEBOTS_NXT_BRIDGE_GENERATED is legacy, don't use
484#ifdef NotSupportedWithLegacyNaming
485#define WEBOTS_NXT_BRIDGE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
486#else
487#define WEBOTS_NXT_BRIDGE_C_STRUCT_NAME_COMPAT WEBOTS_NXT_BRIDGE_C_STRUCT
488#endif
489 return SERIALISE(WEBOTS_NXT_BRIDGE_C_STRUCT_NAME_COMPAT, (struct WEBOTS_NXT_BRIDGE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
490#undef WEBOTS_NXT_BRIDGE_C_STRUCT_NAME_COMPAT
491#else
492 return -1;
493#endif //SerialisationNotSupportedWithLegacyNaming
494 break;
495 }
497 {
498#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_ENCODERS_GENERATED) // WEBOTS_NXT_ENCODERS_GENERATED is legacy, don't use
499#ifdef NotSupportedWithLegacyNaming
500#define WEBOTS_NXT_ENCODERS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
501#else
502#define WEBOTS_NXT_ENCODERS_C_STRUCT_NAME_COMPAT WEBOTS_NXT_ENCODERS_C_STRUCT
503#endif
504 return SERIALISE(WEBOTS_NXT_ENCODERS_C_STRUCT_NAME_COMPAT, (struct WEBOTS_NXT_ENCODERS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
505#undef WEBOTS_NXT_ENCODERS_C_STRUCT_NAME_COMPAT
506#else
507 return -1;
508#endif //SerialisationNotSupportedWithLegacyNaming
509 break;
510 }
512 {
513#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_CAMERA_GENERATED) // WEBOTS_NXT_CAMERA_GENERATED is legacy, don't use
514#ifdef NotSupportedWithLegacyNaming
515#define WEBOTS_NXT_CAMERA_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
516#else
517#define WEBOTS_NXT_CAMERA_C_STRUCT_NAME_COMPAT WEBOTS_NXT_CAMERA_C_STRUCT
518#endif
519 return SERIALISE(WEBOTS_NXT_CAMERA_C_STRUCT_NAME_COMPAT, (struct WEBOTS_NXT_CAMERA_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
520#undef WEBOTS_NXT_CAMERA_C_STRUCT_NAME_COMPAT
521#else
522 return -1;
523#endif //SerialisationNotSupportedWithLegacyNaming
524 break;
525 }
527 {
528#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_WALK_ISRUNNING_GENERATED) // WEBOTS_NXT_WALK_ISRUNNING_GENERATED is legacy, don't use
529#ifdef NotSupportedWithLegacyNaming
530#define WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
531#else
532#define WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT_NAME_COMPAT WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT
533#endif
534 return SERIALISE(WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT_NAME_COMPAT, (struct WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
535#undef WEBOTS_NXT_WALK_ISRUNNING_C_STRUCT_NAME_COMPAT
536#else
537 return -1;
538#endif //SerialisationNotSupportedWithLegacyNaming
539 break;
540 }
542 {
543#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_DEADREAKONING_WALK_GENERATED) // WEBOTS_NXT_DEADREAKONING_WALK_GENERATED is legacy, don't use
544#ifdef NotSupportedWithLegacyNaming
545#define WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
546#else
547#define WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT_NAME_COMPAT WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT
548#endif
549 return SERIALISE(WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT_NAME_COMPAT, (struct WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
550#undef WEBOTS_NXT_DEADREAKONING_WALK_C_STRUCT_NAME_COMPAT
551#else
552 return -1;
553#endif //SerialisationNotSupportedWithLegacyNaming
554 break;
555 }
557 {
558#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_COLORLINE_WALK_GENERATED) // WEBOTS_NXT_COLORLINE_WALK_GENERATED is legacy, don't use
559#ifdef NotSupportedWithLegacyNaming
560#define WEBOTS_NXT_COLORLINE_WALK_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
561#else
562#define WEBOTS_NXT_COLORLINE_WALK_C_STRUCT_NAME_COMPAT WEBOTS_NXT_COLORLINE_WALK_C_STRUCT
563#endif
564 return SERIALISE(WEBOTS_NXT_COLORLINE_WALK_C_STRUCT_NAME_COMPAT, (struct WEBOTS_NXT_COLORLINE_WALK_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
565#undef WEBOTS_NXT_COLORLINE_WALK_C_STRUCT_NAME_COMPAT
566#else
567 return -1;
568#endif //SerialisationNotSupportedWithLegacyNaming
569 break;
570 }
572 {
573#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_GRIDMOTIONS_GENERATED) // WEBOTS_NXT_GRIDMOTIONS_GENERATED is legacy, don't use
574#ifdef NotSupportedWithLegacyNaming
575#define WEBOTS_NXT_GRIDMOTIONS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
576#else
577#define WEBOTS_NXT_GRIDMOTIONS_C_STRUCT_NAME_COMPAT WEBOTS_NXT_GRIDMOTIONS_C_STRUCT
578#endif
579 return SERIALISE(WEBOTS_NXT_GRIDMOTIONS_C_STRUCT_NAME_COMPAT, (struct WEBOTS_NXT_GRIDMOTIONS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
580#undef WEBOTS_NXT_GRIDMOTIONS_C_STRUCT_NAME_COMPAT
581#else
582 return -1;
583#endif //SerialisationNotSupportedWithLegacyNaming
584 break;
585 }
586 case kwb_VisionBall_v:
587 {
588#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(VISIONBALL_GENERATED) // VISIONBALL_GENERATED is legacy, don't use
589#ifdef NotSupportedWithLegacyNaming
590#define VISIONBALL_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
591#else
592#define VISIONBALL_C_STRUCT_NAME_COMPAT VISIONBALL_C_STRUCT
593#endif
594 return SERIALISE(VISIONBALL_C_STRUCT_NAME_COMPAT, (struct VISIONBALL_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
595#undef VISIONBALL_C_STRUCT_NAME_COMPAT
596#else
597 return -1;
598#endif //SerialisationNotSupportedWithLegacyNaming
599 break;
600 }
602 {
603#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(VISIONGOALS_GENERATED) // VISIONGOALS_GENERATED is legacy, don't use
604#ifdef NotSupportedWithLegacyNaming
605#define VISIONGOALS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
606#else
607#define VISIONGOALS_C_STRUCT_NAME_COMPAT VISIONGOALS_C_STRUCT
608#endif
609 return SERIALISE(VISIONGOALS_C_STRUCT_NAME_COMPAT, (struct VISIONGOALS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
610#undef VISIONGOALS_C_STRUCT_NAME_COMPAT
611#else
612 return -1;
613#endif //SerialisationNotSupportedWithLegacyNaming
614 break;
615 }
616 case kwb_WalkData_v:
617 {
618#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WALKDATA_GENERATED) // WALKDATA_GENERATED is legacy, don't use
619#ifdef NotSupportedWithLegacyNaming
620#define WALKDATA_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
621#else
622#define WALKDATA_C_STRUCT_NAME_COMPAT WALKDATA_C_STRUCT
623#endif
624 return SERIALISE(WALKDATA_C_STRUCT_NAME_COMPAT, (struct WALKDATA_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
625#undef WALKDATA_C_STRUCT_NAME_COMPAT
626#else
627 return -1;
628#endif //SerialisationNotSupportedWithLegacyNaming
629 break;
630 }
632 {
633#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(TELEOPERATIONCONTROLSTATUS_GENERATED) // TELEOPERATIONCONTROLSTATUS_GENERATED is legacy, don't use
634#ifdef NotSupportedWithLegacyNaming
635#define TELEOPERATIONCONTROLSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
636#else
637#define TELEOPERATIONCONTROLSTATUS_C_STRUCT_NAME_COMPAT TELEOPERATIONCONTROLSTATUS_C_STRUCT
638#endif
639 return SERIALISE(TELEOPERATIONCONTROLSTATUS_C_STRUCT_NAME_COMPAT, (struct TELEOPERATIONCONTROLSTATUS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
640#undef TELEOPERATIONCONTROLSTATUS_C_STRUCT_NAME_COMPAT
641#else
642 return -1;
643#endif //SerialisationNotSupportedWithLegacyNaming
644 break;
645 }
647 {
648 return -1; /*TODO, add support for POD types.*/
649 break;
650 }
652 {
653 return -1; /*TODO, add support for POD types.*/
654 break;
655 }
657 {
658#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_BUMPER_GENERATED) // WEBOTS_NXT_BUMPER_GENERATED is legacy, don't use
659#ifdef NotSupportedWithLegacyNaming
660#define WEBOTS_NXT_BUMPER_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
661#else
662#define WEBOTS_NXT_BUMPER_C_STRUCT_NAME_COMPAT WEBOTS_NXT_BUMPER_C_STRUCT
663#endif
664 return SERIALISE(WEBOTS_NXT_BUMPER_C_STRUCT_NAME_COMPAT, (struct WEBOTS_NXT_BUMPER_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
665#undef WEBOTS_NXT_BUMPER_C_STRUCT_NAME_COMPAT
666#else
667 return -1;
668#endif //SerialisationNotSupportedWithLegacyNaming
669 break;
670 }
672 {
673#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(WEBOTS_NXT_VECTOR_BRIDGE_GENERATED) // WEBOTS_NXT_VECTOR_BRIDGE_GENERATED is legacy, don't use
674#ifdef NotSupportedWithLegacyNaming
675#define WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
676#else
677#define WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT_NAME_COMPAT WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT
678#endif
679 return SERIALISE(WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT_NAME_COMPAT, (struct WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
680#undef WEBOTS_NXT_VECTOR_BRIDGE_C_STRUCT_NAME_COMPAT
681#else
682 return -1;
683#endif //SerialisationNotSupportedWithLegacyNaming
684 break;
685 }
687 {
688#if defined(WB_VISION_LINES_GENERATED) || defined(VISION_LINES_GENERATED) // VISION_LINES_GENERATED is legacy, don't use
689#ifdef WB_VISION_LINES_C_STRUCT
690#define VISION_LINES_C_STRUCT_NAME_COMPAT WB_VISION_LINES_C_STRUCT
691#else
692#define VISION_LINES_C_STRUCT_NAME_COMPAT VISION_LINES_C_STRUCT
693#endif
694 return SERIALISE(VISION_LINES_C_STRUCT_NAME_COMPAT, (struct VISION_LINES_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
695#undef VISION_LINES_C_STRUCT_NAME_COMPAT
696#else
697 return -1;
698#endif //WB_VISION_LINES_GENERATED
699 break;
700 }
702 {
703#if defined(WB_VISION_LINES_GENERATED) || defined(VISION_LINES_GENERATED) // VISION_LINES_GENERATED is legacy, don't use
704#ifdef WB_VISION_LINES_C_STRUCT
705#define VISION_LINES_C_STRUCT_NAME_COMPAT WB_VISION_LINES_C_STRUCT
706#else
707#define VISION_LINES_C_STRUCT_NAME_COMPAT VISION_LINES_C_STRUCT
708#endif
709 return SERIALISE(VISION_LINES_C_STRUCT_NAME_COMPAT, (struct VISION_LINES_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
710#undef VISION_LINES_C_STRUCT_NAME_COMPAT
711#else
712 return -1;
713#endif //WB_VISION_LINES_GENERATED
714 break;
715 }
717 {
718#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(DIFFERENTIALROBOTCONTROLSTATUS_GENERATED) // DIFFERENTIALROBOTCONTROLSTATUS_GENERATED is legacy, don't use
719#ifdef NotSupportedWithLegacyNaming
720#define DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
721#else
722#define DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT
723#endif
724 return SERIALISE(DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT, (struct DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
725#undef DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT
726#else
727 return -1;
728#endif //SerialisationNotSupportedWithLegacyNaming
729 break;
730 }
732 {
733#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(DIFFERENTIALROBOTCONTROLSTATUS_GENERATED) // DIFFERENTIALROBOTCONTROLSTATUS_GENERATED is legacy, don't use
734#ifdef NotSupportedWithLegacyNaming
735#define DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
736#else
737#define DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT
738#endif
739 return SERIALISE(DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT, (struct DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
740#undef DIFFERENTIALROBOTCONTROLSTATUS_C_STRUCT_NAME_COMPAT
741#else
742 return -1;
743#endif //SerialisationNotSupportedWithLegacyNaming
744 break;
745 }
746 case kwb_XEyesPos_v:
747 {
748#if defined(WB_POINT2D_GENERATED) || defined(POINT2D_GENERATED) // POINT2D_GENERATED is legacy, don't use
749#ifdef WB_POINT2D_C_STRUCT
750#define POINT2D_C_STRUCT_NAME_COMPAT WB_POINT2D_C_STRUCT
751#else
752#define POINT2D_C_STRUCT_NAME_COMPAT POINT2D_C_STRUCT
753#endif
754 return SERIALISE(POINT2D_C_STRUCT_NAME_COMPAT, (struct POINT2D_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
755#undef POINT2D_C_STRUCT_NAME_COMPAT
756#else
757 return -1;
758#endif //WB_POINT2D_GENERATED
759 break;
760 }
761 case kwb_VisionFace_v:
762 {
763 return -1; /*TODO, add support for POD types.*/
764 break;
765 }
766 case kwb_Draw_v:
767 {
768 return -1; /*TODO, add support for POD types.*/
769 break;
770 }
771 case kwb_FSM_States_v:
772 {
773#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(FSMSTATE_GENERATED) // FSMSTATE_GENERATED is legacy, don't use
774#ifdef NotSupportedWithLegacyNaming
775#define FSMSTATE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
776#else
777#define FSMSTATE_C_STRUCT_NAME_COMPAT FSMSTATE_C_STRUCT
778#endif
779 return SERIALISE(FSMSTATE_C_STRUCT_NAME_COMPAT, (struct FSMSTATE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
780#undef FSMSTATE_C_STRUCT_NAME_COMPAT
781#else
782 return -1;
783#endif //SerialisationNotSupportedWithLegacyNaming
784 break;
785 }
787 {
788#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(GIRAFF_MAINSERIALINTERFACE_GENERATED) // GIRAFF_MAINSERIALINTERFACE_GENERATED is legacy, don't use
789#ifdef NotSupportedWithLegacyNaming
790#define GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
791#else
792#define GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT GIRAFF_MAINSERIALINTERFACE_C_STRUCT
793#endif
794 return SERIALISE(GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT, (struct GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
795#undef GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT
796#else
797 return -1;
798#endif //SerialisationNotSupportedWithLegacyNaming
799 break;
800 }
802 {
803#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(GIRAFF_MAINSERIALINTERFACE_GENERATED) // GIRAFF_MAINSERIALINTERFACE_GENERATED is legacy, don't use
804#ifdef NotSupportedWithLegacyNaming
805#define GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
806#else
807#define GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT GIRAFF_MAINSERIALINTERFACE_C_STRUCT
808#endif
809 return SERIALISE(GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT, (struct GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
810#undef GIRAFF_MAINSERIALINTERFACE_C_STRUCT_NAME_COMPAT
811#else
812 return -1;
813#endif //SerialisationNotSupportedWithLegacyNaming
814 break;
815 }
816 case kwb_NXT_Status_v:
817 {
818#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NXT_INTERFACE_GENERATED) // NXT_INTERFACE_GENERATED is legacy, don't use
819#ifdef NotSupportedWithLegacyNaming
820#define NXT_INTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
821#else
822#define NXT_INTERFACE_C_STRUCT_NAME_COMPAT NXT_INTERFACE_C_STRUCT
823#endif
824 return SERIALISE(NXT_INTERFACE_C_STRUCT_NAME_COMPAT, (struct NXT_INTERFACE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
825#undef NXT_INTERFACE_C_STRUCT_NAME_COMPAT
826#else
827 return -1;
828#endif //SerialisationNotSupportedWithLegacyNaming
829 break;
830 }
832 {
833#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NXT_INTERFACE_GENERATED) // NXT_INTERFACE_GENERATED is legacy, don't use
834#ifdef NotSupportedWithLegacyNaming
835#define NXT_INTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
836#else
837#define NXT_INTERFACE_C_STRUCT_NAME_COMPAT NXT_INTERFACE_C_STRUCT
838#endif
839 return SERIALISE(NXT_INTERFACE_C_STRUCT_NAME_COMPAT, (struct NXT_INTERFACE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
840#undef NXT_INTERFACE_C_STRUCT_NAME_COMPAT
841#else
842 return -1;
843#endif //SerialisationNotSupportedWithLegacyNaming
844 break;
845 }
846 case kwb_APM_Status_v:
847 {
848#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(APM_INTERFACE_GENERATED) // APM_INTERFACE_GENERATED is legacy, don't use
849#ifdef NotSupportedWithLegacyNaming
850#define APM_INTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
851#else
852#define APM_INTERFACE_C_STRUCT_NAME_COMPAT APM_INTERFACE_C_STRUCT
853#endif
854 return SERIALISE(APM_INTERFACE_C_STRUCT_NAME_COMPAT, (struct APM_INTERFACE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
855#undef APM_INTERFACE_C_STRUCT_NAME_COMPAT
856#else
857 return -1;
858#endif //SerialisationNotSupportedWithLegacyNaming
859 break;
860 }
862 {
863#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(APM_INTERFACE_GENERATED) // APM_INTERFACE_GENERATED is legacy, don't use
864#ifdef NotSupportedWithLegacyNaming
865#define APM_INTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
866#else
867#define APM_INTERFACE_C_STRUCT_NAME_COMPAT APM_INTERFACE_C_STRUCT
868#endif
869 return SERIALISE(APM_INTERFACE_C_STRUCT_NAME_COMPAT, (struct APM_INTERFACE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
870#undef APM_INTERFACE_C_STRUCT_NAME_COMPAT
871#else
872 return -1;
873#endif //SerialisationNotSupportedWithLegacyNaming
874 break;
875 }
876 case kwb_REMOVED3_v:
877 {
878 return -1; /*TODO, add support for POD types.*/
879 break;
880 }
881 case kwb_REMOVED4_v:
882 {
883 return -1; /*TODO, add support for POD types.*/
884 break;
885 }
886 case kwb_CBall_v:
887 {
888 return -1; /*TODO, add support for POD types.*/
889 break;
890 }
892 {
893#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(OCULUSPRIMEINTERFACE_GENERATED) // OCULUSPRIMEINTERFACE_GENERATED is legacy, don't use
894#ifdef NotSupportedWithLegacyNaming
895#define OCULUSPRIMEINTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
896#else
897#define OCULUSPRIMEINTERFACE_C_STRUCT_NAME_COMPAT OCULUSPRIMEINTERFACE_C_STRUCT
898#endif
899 return SERIALISE(OCULUSPRIMEINTERFACE_C_STRUCT_NAME_COMPAT, (struct OCULUSPRIMEINTERFACE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
900#undef OCULUSPRIMEINTERFACE_C_STRUCT_NAME_COMPAT
901#else
902 return -1;
903#endif //SerialisationNotSupportedWithLegacyNaming
904 break;
905 }
906 case kwb_Input3D_v:
907 {
908#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(INPUT3D_GENERATED) // INPUT3D_GENERATED is legacy, don't use
909#ifdef NotSupportedWithLegacyNaming
910#define INPUT3D_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
911#else
912#define INPUT3D_C_STRUCT_NAME_COMPAT INPUT3D_C_STRUCT
913#endif
914 return SERIALISE(INPUT3D_C_STRUCT_NAME_COMPAT, (struct INPUT3D_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
915#undef INPUT3D_C_STRUCT_NAME_COMPAT
916#else
917 return -1;
918#endif //SerialisationNotSupportedWithLegacyNaming
919 break;
920 }
922 {
923#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(OCULUS_PRIMESERIALINTERFACE_GENERATED) // OCULUS_PRIMESERIALINTERFACE_GENERATED is legacy, don't use
924#ifdef NotSupportedWithLegacyNaming
925#define OCULUS_PRIMESERIALINTERFACE_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
926#else
927#define OCULUS_PRIMESERIALINTERFACE_C_STRUCT_NAME_COMPAT OCULUS_PRIMESERIALINTERFACE_C_STRUCT
928#endif
929 return SERIALISE(OCULUS_PRIMESERIALINTERFACE_C_STRUCT_NAME_COMPAT, (struct OCULUS_PRIMESERIALINTERFACE_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
930#undef OCULUS_PRIMESERIALINTERFACE_C_STRUCT_NAME_COMPAT
931#else
932 return -1;
933#endif //SerialisationNotSupportedWithLegacyNaming
934 break;
935 }
936 case kwb_IOPins_v:
937 {
938#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(IOPINS_GENERATED) // IOPINS_GENERATED is legacy, don't use
939#ifdef NotSupportedWithLegacyNaming
940#define IOPINS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
941#else
942#define IOPINS_C_STRUCT_NAME_COMPAT IOPINS_C_STRUCT
943#endif
944 return SERIALISE(IOPINS_C_STRUCT_NAME_COMPAT, (struct IOPINS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
945#undef IOPINS_C_STRUCT_NAME_COMPAT
946#else
947 return -1;
948#endif //SerialisationNotSupportedWithLegacyNaming
949 break;
950 }
952 {
953#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NXT_TWO_TOUCH_STATUS_GENERATED) // NXT_TWO_TOUCH_STATUS_GENERATED is legacy, don't use
954#ifdef NotSupportedWithLegacyNaming
955#define NXT_TWO_TOUCH_STATUS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
956#else
957#define NXT_TWO_TOUCH_STATUS_C_STRUCT_NAME_COMPAT NXT_TWO_TOUCH_STATUS_C_STRUCT
958#endif
959 return SERIALISE(NXT_TWO_TOUCH_STATUS_C_STRUCT_NAME_COMPAT, (struct NXT_TWO_TOUCH_STATUS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
960#undef NXT_TWO_TOUCH_STATUS_C_STRUCT_NAME_COMPAT
961#else
962 return -1;
963#endif //SerialisationNotSupportedWithLegacyNaming
964 break;
965 }
967 {
968#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NXT_SOUND_CONTROL_GENERATED) // NXT_SOUND_CONTROL_GENERATED is legacy, don't use
969#ifdef NotSupportedWithLegacyNaming
970#define NXT_SOUND_CONTROL_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
971#else
972#define NXT_SOUND_CONTROL_C_STRUCT_NAME_COMPAT NXT_SOUND_CONTROL_C_STRUCT
973#endif
974 return SERIALISE(NXT_SOUND_CONTROL_C_STRUCT_NAME_COMPAT, (struct NXT_SOUND_CONTROL_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
975#undef NXT_SOUND_CONTROL_C_STRUCT_NAME_COMPAT
976#else
977 return -1;
978#endif //SerialisationNotSupportedWithLegacyNaming
979 break;
980 }
982 {
983#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NXT_LIGHTS_CONTROL_GENERATED) // NXT_LIGHTS_CONTROL_GENERATED is legacy, don't use
984#ifdef NotSupportedWithLegacyNaming
985#define NXT_LIGHTS_CONTROL_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
986#else
987#define NXT_LIGHTS_CONTROL_C_STRUCT_NAME_COMPAT NXT_LIGHTS_CONTROL_C_STRUCT
988#endif
989 return SERIALISE(NXT_LIGHTS_CONTROL_C_STRUCT_NAME_COMPAT, (struct NXT_LIGHTS_CONTROL_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
990#undef NXT_LIGHTS_CONTROL_C_STRUCT_NAME_COMPAT
991#else
992 return -1;
993#endif //SerialisationNotSupportedWithLegacyNaming
994 break;
995 }
996 case kwb_Clocks_v:
997 {
998#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(CLOCKS_GENERATED) // CLOCKS_GENERATED is legacy, don't use
999#ifdef NotSupportedWithLegacyNaming
1000#define CLOCKS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1001#else
1002#define CLOCKS_C_STRUCT_NAME_COMPAT CLOCKS_C_STRUCT
1003#endif
1004 return SERIALISE(CLOCKS_C_STRUCT_NAME_COMPAT, (struct CLOCKS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1005#undef CLOCKS_C_STRUCT_NAME_COMPAT
1006#else
1007 return -1;
1008#endif //SerialisationNotSupportedWithLegacyNaming
1009 break;
1010 }
1011 case kwb_Channels_v:
1012 {
1013#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(CHANNELS_GENERATED) // CHANNELS_GENERATED is legacy, don't use
1014#ifdef NotSupportedWithLegacyNaming
1015#define CHANNELS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1016#else
1017#define CHANNELS_C_STRUCT_NAME_COMPAT CHANNELS_C_STRUCT
1018#endif
1019 return SERIALISE(CHANNELS_C_STRUCT_NAME_COMPAT, (struct CHANNELS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1020#undef CHANNELS_C_STRUCT_NAME_COMPAT
1021#else
1022 return -1;
1023#endif //SerialisationNotSupportedWithLegacyNaming
1024 break;
1025 }
1027 {
1028#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SWITCHSUBSUMPTION_GENERATED) // SWITCHSUBSUMPTION_GENERATED is legacy, don't use
1029#ifdef NotSupportedWithLegacyNaming
1030#define SWITCHSUBSUMPTION_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1031#else
1032#define SWITCHSUBSUMPTION_C_STRUCT_NAME_COMPAT SWITCHSUBSUMPTION_C_STRUCT
1033#endif
1034 return SERIALISE(SWITCHSUBSUMPTION_C_STRUCT_NAME_COMPAT, (struct SWITCHSUBSUMPTION_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1035#undef SWITCHSUBSUMPTION_C_STRUCT_NAME_COMPAT
1036#else
1037 return -1;
1038#endif //SerialisationNotSupportedWithLegacyNaming
1039 break;
1040 }
1042 {
1043#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(TOTODOINGMOTION_GENERATED) // TOTODOINGMOTION_GENERATED is legacy, don't use
1044#ifdef NotSupportedWithLegacyNaming
1045#define TOTODOINGMOTION_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1046#else
1047#define TOTODOINGMOTION_C_STRUCT_NAME_COMPAT TOTODOINGMOTION_C_STRUCT
1048#endif
1049 return SERIALISE(TOTODOINGMOTION_C_STRUCT_NAME_COMPAT, (struct TOTODOINGMOTION_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1050#undef TOTODOINGMOTION_C_STRUCT_NAME_COMPAT
1051#else
1052 return -1;
1053#endif //SerialisationNotSupportedWithLegacyNaming
1054 break;
1055 }
1056 case kwb_Count_v:
1057 {
1058#if defined(WB_COUNT_GENERATED) || defined(COUNT_GENERATED) // COUNT_GENERATED is legacy, don't use
1059#ifdef WB_COUNT_C_STRUCT
1060#define COUNT_C_STRUCT_NAME_COMPAT WB_COUNT_C_STRUCT
1061#else
1062#define COUNT_C_STRUCT_NAME_COMPAT COUNT_C_STRUCT
1063#endif
1064 return SERIALISE(COUNT_C_STRUCT_NAME_COMPAT, (struct COUNT_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1065#undef COUNT_C_STRUCT_NAME_COMPAT
1066#else
1067 return -1;
1068#endif //WB_COUNT_GENERATED
1069 break;
1070 }
1071 case kwb_GreenEWon_v:
1072 {
1073 return -1; /*TODO, add support for POD types.*/
1074 break;
1075 }
1076 case kwb_WarnEW_v:
1077 {
1078 return -1; /*TODO, add support for POD types.*/
1079 break;
1080 }
1081 case kwb_TimeGTthirty_v:
1082 {
1083 return -1; /*TODO, add support for POD types.*/
1084 break;
1085 }
1086 case kwb_AmberEWon_v:
1087 {
1088 return -1; /*TODO, add support for POD types.*/
1089 break;
1090 }
1091 case kwb_TurnRedEW_v:
1092 {
1093 return -1; /*TODO, add support for POD types.*/
1094 break;
1095 }
1096 case kwb_TimeGTfive_v:
1097 {
1098 return -1; /*TODO, add support for POD types.*/
1099 break;
1100 }
1101 case kwb_RedEWon_v:
1102 {
1103 return -1; /*TODO, add support for POD types.*/
1104 break;
1105 }
1106 case kwb_GreenNSon_v:
1107 {
1108 return -1; /*TODO, add support for POD types.*/
1109 break;
1110 }
1111 case kwb_WarnNS_v:
1112 {
1113 return -1; /*TODO, add support for POD types.*/
1114 break;
1115 }
1116 case kwb_AmberNSon_v:
1117 {
1118 return -1; /*TODO, add support for POD types.*/
1119 break;
1120 }
1121 case kwb_TurnRedNS_v:
1122 {
1123 return -1; /*TODO, add support for POD types.*/
1124 break;
1125 }
1126 case kwb_RedNSon_v:
1127 {
1128 return -1; /*TODO, add support for POD types.*/
1129 break;
1130 }
1131 case kwb_TimerReset_v:
1132 {
1133 return -1; /*TODO, add support for POD types.*/
1134 break;
1135 }
1136 case kwb_SLOT_UNUSED_v:
1137 {
1138 return -1; /*TODO, add support for POD types.*/
1139 break;
1140 }
1142 {
1143 return -1; /*TODO, add support for POD types.*/
1144 break;
1145 }
1147 {
1148#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(SWITCHSUBSUMPTIONTRAFFICLIGHTS_GENERATED) // SWITCHSUBSUMPTIONTRAFFICLIGHTS_GENERATED is legacy, don't use
1149#ifdef NotSupportedWithLegacyNaming
1150#define SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1151#else
1152#define SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT_NAME_COMPAT SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT
1153#endif
1154 return SERIALISE(SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT_NAME_COMPAT, (struct SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1155#undef SWITCHSUBSUMPTIONTRAFFICLIGHTS_C_STRUCT_NAME_COMPAT
1156#else
1157 return -1;
1158#endif //SerialisationNotSupportedWithLegacyNaming
1159 break;
1160 }
1161 case kwb_Ball_Found_v:
1162 {
1163 return -1; /*TODO, add support for POD types.*/
1164 break;
1165 }
1167 {
1168 return -1; /*TODO, add support for POD types.*/
1169 break;
1170 }
1172 {
1173 return -1; /*TODO, add support for POD types.*/
1174 break;
1175 }
1177 {
1178 return -1; /*TODO, add support for POD types.*/
1179 break;
1180 }
1182 {
1183#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1184#ifdef NotSupportedWithLegacyNaming
1185#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1186#else
1187#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1188#endif
1189 return SERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1190#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1191#else
1192 return -1;
1193#endif //SerialisationNotSupportedWithLegacyNaming
1194 break;
1195 }
1197 {
1198#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1199#ifdef NotSupportedWithLegacyNaming
1200#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1201#else
1202#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1203#endif
1204 return SERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1205#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1206#else
1207 return -1;
1208#endif //SerialisationNotSupportedWithLegacyNaming
1209 break;
1210 }
1212 {
1213#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1214#ifdef NotSupportedWithLegacyNaming
1215#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1216#else
1217#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1218#endif
1219 return SERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1220#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1221#else
1222 return -1;
1223#endif //SerialisationNotSupportedWithLegacyNaming
1224 break;
1225 }
1227 {
1228#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1229#ifdef NotSupportedWithLegacyNaming
1230#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1231#else
1232#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1233#endif
1234 return SERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1235#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1236#else
1237 return -1;
1238#endif //SerialisationNotSupportedWithLegacyNaming
1239 break;
1240 }
1242 {
1243#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1244#ifdef NotSupportedWithLegacyNaming
1245#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1246#else
1247#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1248#endif
1249 return SERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1250#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1251#else
1252 return -1;
1253#endif //SerialisationNotSupportedWithLegacyNaming
1254 break;
1255 }
1257 {
1258#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALARMTARGET_GENERATED) // HALARMTARGET_GENERATED is legacy, don't use
1259#ifdef NotSupportedWithLegacyNaming
1260#define HALARMTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1261#else
1262#define HALARMTARGET_C_STRUCT_NAME_COMPAT HALARMTARGET_C_STRUCT
1263#endif
1264 return SERIALISE(HALARMTARGET_C_STRUCT_NAME_COMPAT, (struct HALARMTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1265#undef HALARMTARGET_C_STRUCT_NAME_COMPAT
1266#else
1267 return -1;
1268#endif //SerialisationNotSupportedWithLegacyNaming
1269 break;
1270 }
1272 {
1273#if defined(WB_VISION_FIELD_FEATURES_GENERATED) || defined(VISION_FIELD_FEATURES_GENERATED) // VISION_FIELD_FEATURES_GENERATED is legacy, don't use
1274#ifdef WB_VISION_FIELD_FEATURES_C_STRUCT
1275#define VISION_FIELD_FEATURES_C_STRUCT_NAME_COMPAT WB_VISION_FIELD_FEATURES_C_STRUCT
1276#else
1277#define VISION_FIELD_FEATURES_C_STRUCT_NAME_COMPAT VISION_FIELD_FEATURES_C_STRUCT
1278#endif
1280#undef VISION_FIELD_FEATURES_C_STRUCT_NAME_COMPAT
1281#else
1282 return -1;
1283#endif //WB_VISION_FIELD_FEATURES_GENERATED
1284 break;
1285 }
1286 case kwb_WhistleBlown_v:
1287 {
1288 return -1; /*TODO, add support for POD types.*/
1289 break;
1290 }
1292 {
1293 return -1; /*TODO, add support for POD types.*/
1294 break;
1295 }
1296 case kwb_VisionRobots_v:
1297 {
1298#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(VISIONROBOTS_GENERATED) // VISIONROBOTS_GENERATED is legacy, don't use
1299#ifdef NotSupportedWithLegacyNaming
1300#define VISIONROBOTS_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1301#else
1302#define VISIONROBOTS_C_STRUCT_NAME_COMPAT VISIONROBOTS_C_STRUCT
1303#endif
1304 return SERIALISE(VISIONROBOTS_C_STRUCT_NAME_COMPAT, (struct VISIONROBOTS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1305#undef VISIONROBOTS_C_STRUCT_NAME_COMPAT
1306#else
1307 return -1;
1308#endif //SerialisationNotSupportedWithLegacyNaming
1309 break;
1310 }
1312 {
1313#if defined(WB_VISION_DETECTION_HORIZONS_GENERATED) || defined(VISION_DETECTION_HORIZONS_GENERATED) // VISION_DETECTION_HORIZONS_GENERATED is legacy, don't use
1314#ifdef WB_VISION_DETECTION_HORIZONS_C_STRUCT
1315#define VISION_DETECTION_HORIZONS_C_STRUCT_NAME_COMPAT WB_VISION_DETECTION_HORIZONS_C_STRUCT
1316#else
1317#define VISION_DETECTION_HORIZONS_C_STRUCT_NAME_COMPAT VISION_DETECTION_HORIZONS_C_STRUCT
1318#endif
1320#undef VISION_DETECTION_HORIZONS_C_STRUCT_NAME_COMPAT
1321#else
1322 return -1;
1323#endif //WB_VISION_DETECTION_HORIZONS_GENERATED
1324 break;
1325 }
1327 {
1328#if defined(WB_NAOWALKCOMMAND_GENERATED) || defined(NAOWALKCOMMAND_GENERATED) // NAOWALKCOMMAND_GENERATED is legacy, don't use
1329#ifdef WB_NAOWALKCOMMAND_C_STRUCT
1330#define NAOWALKCOMMAND_C_STRUCT_NAME_COMPAT WB_NAOWALKCOMMAND_C_STRUCT
1331#else
1332#define NAOWALKCOMMAND_C_STRUCT_NAME_COMPAT NAOWALKCOMMAND_C_STRUCT
1333#endif
1334 return SERIALISE(NAOWALKCOMMAND_C_STRUCT_NAME_COMPAT, (struct NAOWALKCOMMAND_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1335#undef NAOWALKCOMMAND_C_STRUCT_NAME_COMPAT
1336#else
1337 return -1;
1338#endif //WB_NAOWALKCOMMAND_GENERATED
1339 break;
1340 }
1342 {
1343#if defined(WB_NAOWALKSTATUS_GENERATED) || defined(NAOWALKSTATUS_GENERATED) // NAOWALKSTATUS_GENERATED is legacy, don't use
1344#ifdef WB_NAOWALKSTATUS_C_STRUCT
1345#define NAOWALKSTATUS_C_STRUCT_NAME_COMPAT WB_NAOWALKSTATUS_C_STRUCT
1346#else
1347#define NAOWALKSTATUS_C_STRUCT_NAME_COMPAT NAOWALKSTATUS_C_STRUCT
1348#endif
1349 return SERIALISE(NAOWALKSTATUS_C_STRUCT_NAME_COMPAT, (struct NAOWALKSTATUS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1350#undef NAOWALKSTATUS_C_STRUCT_NAME_COMPAT
1351#else
1352 return -1;
1353#endif //WB_NAOWALKSTATUS_GENERATED
1354 break;
1355 }
1357 {
1358#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1359#ifdef NotSupportedWithLegacyNaming
1360#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1361#else
1362#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1363#endif
1364 return SERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1365#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1366#else
1367 return -1;
1368#endif //SerialisationNotSupportedWithLegacyNaming
1369 break;
1370 }
1372 {
1373#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1374#ifdef NotSupportedWithLegacyNaming
1375#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1376#else
1377#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1378#endif
1379 return SERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1380#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1381#else
1382 return -1;
1383#endif //SerialisationNotSupportedWithLegacyNaming
1384 break;
1385 }
1387 {
1388#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1389#ifdef NotSupportedWithLegacyNaming
1390#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1391#else
1392#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1393#endif
1394 return SERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1395#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1396#else
1397 return -1;
1398#endif //SerialisationNotSupportedWithLegacyNaming
1399 break;
1400 }
1402 {
1403#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1404#ifdef NotSupportedWithLegacyNaming
1405#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1406#else
1407#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1408#endif
1409 return SERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1410#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1411#else
1412 return -1;
1413#endif //SerialisationNotSupportedWithLegacyNaming
1414 break;
1415 }
1417 {
1418#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1419#ifdef NotSupportedWithLegacyNaming
1420#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1421#else
1422#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1423#endif
1424 return SERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1425#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1426#else
1427 return -1;
1428#endif //SerialisationNotSupportedWithLegacyNaming
1429 break;
1430 }
1432 {
1433#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(HALLEGTARGET_GENERATED) // HALLEGTARGET_GENERATED is legacy, don't use
1434#ifdef NotSupportedWithLegacyNaming
1435#define HALLEGTARGET_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1436#else
1437#define HALLEGTARGET_C_STRUCT_NAME_COMPAT HALLEGTARGET_C_STRUCT
1438#endif
1439 return SERIALISE(HALLEGTARGET_C_STRUCT_NAME_COMPAT, (struct HALLEGTARGET_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1440#undef HALLEGTARGET_C_STRUCT_NAME_COMPAT
1441#else
1442 return -1;
1443#endif //SerialisationNotSupportedWithLegacyNaming
1444 break;
1445 }
1447 {
1448#if defined(WB_VISION_DETECTION_GOALS_GENERATED) || defined(VISION_DETECTION_GOALS_GENERATED) // VISION_DETECTION_GOALS_GENERATED is legacy, don't use
1449#ifdef WB_VISION_DETECTION_GOALS_C_STRUCT
1450#define VISION_DETECTION_GOALS_C_STRUCT_NAME_COMPAT WB_VISION_DETECTION_GOALS_C_STRUCT
1451#else
1452#define VISION_DETECTION_GOALS_C_STRUCT_NAME_COMPAT VISION_DETECTION_GOALS_C_STRUCT
1453#endif
1455#undef VISION_DETECTION_GOALS_C_STRUCT_NAME_COMPAT
1456#else
1457 return -1;
1458#endif //WB_VISION_DETECTION_GOALS_GENERATED
1459 break;
1460 }
1462 {
1463#if defined(WB_TELEOPERATIONCONTROL_GENERATED) || defined(TELEOPERATIONCONTROL_GENERATED) // TELEOPERATIONCONTROL_GENERATED is legacy, don't use
1464#ifdef WB_TELEOPERATIONCONTROL_C_STRUCT
1465#define TELEOPERATIONCONTROL_C_STRUCT_NAME_COMPAT WB_TELEOPERATIONCONTROL_C_STRUCT
1466#else
1467#define TELEOPERATIONCONTROL_C_STRUCT_NAME_COMPAT TELEOPERATIONCONTROL_C_STRUCT
1468#endif
1470#undef TELEOPERATIONCONTROL_C_STRUCT_NAME_COMPAT
1471#else
1472 return -1;
1473#endif //WB_TELEOPERATIONCONTROL_GENERATED
1474 break;
1475 }
1477 {
1478#if defined(WB_TELEOPERATIONSTATUS_GENERATED) || defined(TELEOPERATIONSTATUS_GENERATED) // TELEOPERATIONSTATUS_GENERATED is legacy, don't use
1479#ifdef WB_TELEOPERATIONSTATUS_C_STRUCT
1480#define TELEOPERATIONSTATUS_C_STRUCT_NAME_COMPAT WB_TELEOPERATIONSTATUS_C_STRUCT
1481#else
1482#define TELEOPERATIONSTATUS_C_STRUCT_NAME_COMPAT TELEOPERATIONSTATUS_C_STRUCT
1483#endif
1485#undef TELEOPERATIONSTATUS_C_STRUCT_NAME_COMPAT
1486#else
1487 return -1;
1488#endif //WB_TELEOPERATIONSTATUS_GENERATED
1489 break;
1490 }
1492 {
1493#if defined(WB_VISION_DETECTION_BALLS_GENERATED) || defined(VISION_DETECTION_BALLS_GENERATED) // VISION_DETECTION_BALLS_GENERATED is legacy, don't use
1494#ifdef WB_VISION_DETECTION_BALLS_C_STRUCT
1495#define VISION_DETECTION_BALLS_C_STRUCT_NAME_COMPAT WB_VISION_DETECTION_BALLS_C_STRUCT
1496#else
1497#define VISION_DETECTION_BALLS_C_STRUCT_NAME_COMPAT VISION_DETECTION_BALLS_C_STRUCT
1498#endif
1500#undef VISION_DETECTION_BALLS_C_STRUCT_NAME_COMPAT
1501#else
1502 return -1;
1503#endif //WB_VISION_DETECTION_BALLS_GENERATED
1504 break;
1505 }
1507 {
1508#if defined(WB_TELEOPERATIONCONTROLVR_GENERATED) || defined(TELEOPERATIONCONTROLVR_GENERATED) // TELEOPERATIONCONTROLVR_GENERATED is legacy, don't use
1509#ifdef WB_TELEOPERATIONCONTROLVR_C_STRUCT
1510#define TELEOPERATIONCONTROLVR_C_STRUCT_NAME_COMPAT WB_TELEOPERATIONCONTROLVR_C_STRUCT
1511#else
1512#define TELEOPERATIONCONTROLVR_C_STRUCT_NAME_COMPAT TELEOPERATIONCONTROLVR_C_STRUCT
1513#endif
1515#undef TELEOPERATIONCONTROLVR_C_STRUCT_NAME_COMPAT
1516#else
1517 return -1;
1518#endif //WB_TELEOPERATIONCONTROLVR_GENERATED
1519 break;
1520 }
1522 {
1523 return -1; /*TODO, add support for POD types.*/
1524 break;
1525 }
1527 {
1528 return -1; /*TODO, add support for POD types.*/
1529 break;
1530 }
1531 case kwb_FFTControl_v:
1532 {
1533 return -1; /*TODO, add support for POD types.*/
1534 break;
1535 }
1537 {
1538#if defined(WB_MACHINE_FILTERED_VISION_GENERATED) || defined(MACHINE_FILTERED_VISION_GENERATED) // MACHINE_FILTERED_VISION_GENERATED is legacy, don't use
1539#ifdef WB_MACHINE_FILTERED_VISION_C_STRUCT
1540#define MACHINE_FILTERED_VISION_C_STRUCT_NAME_COMPAT WB_MACHINE_FILTERED_VISION_C_STRUCT
1541#else
1542#define MACHINE_FILTERED_VISION_C_STRUCT_NAME_COMPAT MACHINE_FILTERED_VISION_C_STRUCT
1543#endif
1545#undef MACHINE_FILTERED_VISION_C_STRUCT_NAME_COMPAT
1546#else
1547 return -1;
1548#endif //WB_MACHINE_FILTERED_VISION_GENERATED
1549 break;
1550 }
1552 {
1553#if defined(WB_MICROWAVE_STATUS_GENERATED) || defined(MICROWAVE_STATUS_GENERATED) // MICROWAVE_STATUS_GENERATED is legacy, don't use
1554#ifdef WB_MICROWAVE_STATUS_C_STRUCT
1555#define MICROWAVE_STATUS_C_STRUCT_NAME_COMPAT WB_MICROWAVE_STATUS_C_STRUCT
1556#else
1557#define MICROWAVE_STATUS_C_STRUCT_NAME_COMPAT MICROWAVE_STATUS_C_STRUCT
1558#endif
1560#undef MICROWAVE_STATUS_C_STRUCT_NAME_COMPAT
1561#else
1562 return -1;
1563#endif //WB_MICROWAVE_STATUS_GENERATED
1564 break;
1565 }
1566 case kwb_Buttons_v:
1567 {
1568#if defined(WB_BUTTONS_GENERATED) || defined(BUTTONS_GENERATED) // BUTTONS_GENERATED is legacy, don't use
1569#ifdef WB_BUTTONS_C_STRUCT
1570#define BUTTONS_C_STRUCT_NAME_COMPAT WB_BUTTONS_C_STRUCT
1571#else
1572#define BUTTONS_C_STRUCT_NAME_COMPAT BUTTONS_C_STRUCT
1573#endif
1574 return SERIALISE(BUTTONS_C_STRUCT_NAME_COMPAT, (struct BUTTONS_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1575#undef BUTTONS_C_STRUCT_NAME_COMPAT
1576#else
1577 return -1;
1578#endif //WB_BUTTONS_GENERATED
1579 break;
1580 }
1582 {
1583#if defined(WB_MACHINE_FILTERED_LOCALISATION_VISION_GENERATED) || defined(MACHINE_FILTERED_LOCALISATION_VISION_GENERATED) // MACHINE_FILTERED_LOCALISATION_VISION_GENERATED is legacy, don't use
1584#ifdef WB_MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT
1585#define MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT_NAME_COMPAT WB_MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT
1586#else
1587#define MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT_NAME_COMPAT MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT
1588#endif
1590#undef MACHINE_FILTERED_LOCALISATION_VISION_C_STRUCT_NAME_COMPAT
1591#else
1592 return -1;
1593#endif //WB_MACHINE_FILTERED_LOCALISATION_VISION_GENERATED
1594 break;
1595 }
1597 {
1598#if defined(SerialisationNotSupportedWithLegacyNaming) || defined(NAOJOINTLISTFLOAT_GENERATED) // NAOJOINTLISTFLOAT_GENERATED is legacy, don't use
1599#ifdef NotSupportedWithLegacyNaming
1600#define NAOJOINTLISTFLOAT_C_STRUCT_NAME_COMPAT NotSupportedWithLegacyNaming
1601#else
1602#define NAOJOINTLISTFLOAT_C_STRUCT_NAME_COMPAT NAOJOINTLISTFLOAT_C_STRUCT
1603#endif
1604 return SERIALISE(NAOJOINTLISTFLOAT_C_STRUCT_NAME_COMPAT, (struct NAOJOINTLISTFLOAT_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1605#undef NAOJOINTLISTFLOAT_C_STRUCT_NAME_COMPAT
1606#else
1607 return -1;
1608#endif //SerialisationNotSupportedWithLegacyNaming
1609 break;
1610 }
1611 case kwb_DataLogger_v:
1612 {
1613#if defined(WB_DATA_LOGGER_GENERATED) || defined(DATA_LOGGER_GENERATED) // DATA_LOGGER_GENERATED is legacy, don't use
1614#ifdef WB_DATA_LOGGER_C_STRUCT
1615#define DATA_LOGGER_C_STRUCT_NAME_COMPAT WB_DATA_LOGGER_C_STRUCT
1616#else
1617#define DATA_LOGGER_C_STRUCT_NAME_COMPAT DATA_LOGGER_C_STRUCT
1618#endif
1619 return SERIALISE(DATA_LOGGER_C_STRUCT_NAME_COMPAT, (struct DATA_LOGGER_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1620#undef DATA_LOGGER_C_STRUCT_NAME_COMPAT
1621#else
1622 return -1;
1623#endif //WB_DATA_LOGGER_GENERATED
1624 break;
1625 }
1627 {
1628#if defined(WB_MACHINE_FILTERED_LINES_GENERATED) || defined(MACHINE_FILTERED_LINES_GENERATED) // MACHINE_FILTERED_LINES_GENERATED is legacy, don't use
1629#ifdef WB_MACHINE_FILTERED_LINES_C_STRUCT
1630#define MACHINE_FILTERED_LINES_C_STRUCT_NAME_COMPAT WB_MACHINE_FILTERED_LINES_C_STRUCT
1631#else
1632#define MACHINE_FILTERED_LINES_C_STRUCT_NAME_COMPAT MACHINE_FILTERED_LINES_C_STRUCT
1633#endif
1635#undef MACHINE_FILTERED_LINES_C_STRUCT_NAME_COMPAT
1636#else
1637 return -1;
1638#endif //WB_MACHINE_FILTERED_LINES_GENERATED
1639 break;
1640 }
1641 case kwb_BallLocation_v:
1642 {
1643#if defined(WB_LOCATION_GENERATED) || defined(LOCATION_GENERATED) // LOCATION_GENERATED is legacy, don't use
1644#ifdef WB_LOCATION_C_STRUCT
1645#define LOCATION_C_STRUCT_NAME_COMPAT WB_LOCATION_C_STRUCT
1646#else
1647#define LOCATION_C_STRUCT_NAME_COMPAT LOCATION_C_STRUCT
1648#endif
1649 return SERIALISE(LOCATION_C_STRUCT_NAME_COMPAT, (struct LOCATION_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1650#undef LOCATION_C_STRUCT_NAME_COMPAT
1651#else
1652 return -1;
1653#endif //WB_LOCATION_GENERATED
1654 break;
1655 }
1657 {
1658#if defined(WB_LOCATION_GENERATED) || defined(LOCATION_GENERATED) // LOCATION_GENERATED is legacy, don't use
1659#ifdef WB_LOCATION_C_STRUCT
1660#define LOCATION_C_STRUCT_NAME_COMPAT WB_LOCATION_C_STRUCT
1661#else
1662#define LOCATION_C_STRUCT_NAME_COMPAT LOCATION_C_STRUCT
1663#endif
1664 return SERIALISE(LOCATION_C_STRUCT_NAME_COMPAT, (struct LOCATION_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1665#undef LOCATION_C_STRUCT_NAME_COMPAT
1666#else
1667 return -1;
1668#endif //WB_LOCATION_GENERATED
1669 break;
1670 }
1672 {
1673#if defined(WB_LOCATION_GENERATED) || defined(LOCATION_GENERATED) // LOCATION_GENERATED is legacy, don't use
1674#ifdef WB_LOCATION_C_STRUCT
1675#define LOCATION_C_STRUCT_NAME_COMPAT WB_LOCATION_C_STRUCT
1676#else
1677#define LOCATION_C_STRUCT_NAME_COMPAT LOCATION_C_STRUCT
1678#endif
1679 return SERIALISE(LOCATION_C_STRUCT_NAME_COMPAT, (struct LOCATION_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1680#undef LOCATION_C_STRUCT_NAME_COMPAT
1681#else
1682 return -1;
1683#endif //WB_LOCATION_GENERATED
1684 break;
1685 }
1686 case kwb_GoalLocation_v:
1687 {
1688#if defined(WB_LOCATION_GENERATED) || defined(LOCATION_GENERATED) // LOCATION_GENERATED is legacy, don't use
1689#ifdef WB_LOCATION_C_STRUCT
1690#define LOCATION_C_STRUCT_NAME_COMPAT WB_LOCATION_C_STRUCT
1691#else
1692#define LOCATION_C_STRUCT_NAME_COMPAT LOCATION_C_STRUCT
1693#endif
1694 return SERIALISE(LOCATION_C_STRUCT_NAME_COMPAT, (struct LOCATION_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1695#undef LOCATION_C_STRUCT_NAME_COMPAT
1696#else
1697 return -1;
1698#endif //WB_LOCATION_GENERATED
1699 break;
1700 }
1702 {
1703#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
1704#ifdef WB_NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT
1705#define NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT_NAME_COMPAT WB_NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT
1706#else
1707#define NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT_NAME_COMPAT NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT
1708#endif
1710#undef NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT_NAME_COMPAT
1711#else
1712 return -1;
1713#endif //WB_NAO_SONAR_PROTECTED_WALK_COMMAND_GENERATED
1714 break;
1715 }
1717 {
1718#if defined(WB_NAO_OBSTACLE_DIRECTION_GENERATED) || defined(NAO_OBSTACLE_DIRECTION_GENERATED) // NAO_OBSTACLE_DIRECTION_GENERATED is legacy, don't use
1719#ifdef WB_NAO_OBSTACLE_DIRECTION_C_STRUCT
1720#define NAO_OBSTACLE_DIRECTION_C_STRUCT_NAME_COMPAT WB_NAO_OBSTACLE_DIRECTION_C_STRUCT
1721#else
1722#define NAO_OBSTACLE_DIRECTION_C_STRUCT_NAME_COMPAT NAO_OBSTACLE_DIRECTION_C_STRUCT
1723#endif
1725#undef NAO_OBSTACLE_DIRECTION_C_STRUCT_NAME_COMPAT
1726#else
1727 return -1;
1728#endif //WB_NAO_OBSTACLE_DIRECTION_GENERATED
1729 break;
1730 }
1732 {
1733#if defined(WB_DOMINANT_FREQUENCIES_GENERATED) || defined(DOMINANT_FREQUENCIES_GENERATED) // DOMINANT_FREQUENCIES_GENERATED is legacy, don't use
1734#ifdef WB_DOMINANT_FREQUENCIES_C_STRUCT
1735#define DOMINANT_FREQUENCIES_C_STRUCT_NAME_COMPAT WB_DOMINANT_FREQUENCIES_C_STRUCT
1736#else
1737#define DOMINANT_FREQUENCIES_C_STRUCT_NAME_COMPAT DOMINANT_FREQUENCIES_C_STRUCT
1738#endif
1740#undef DOMINANT_FREQUENCIES_C_STRUCT_NAME_COMPAT
1741#else
1742 return -1;
1743#endif //WB_DOMINANT_FREQUENCIES_GENERATED
1744 break;
1745 }
1747 {
1748#if defined(WB_MISSION_PRIORITY_FOR_OBSTACLES_GENERATED) || defined(MISSION_PRIORITY_FOR_OBSTACLES_GENERATED) // MISSION_PRIORITY_FOR_OBSTACLES_GENERATED is legacy, don't use
1749#ifdef WB_MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT
1750#define MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT_NAME_COMPAT WB_MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT
1751#else
1752#define MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT_NAME_COMPAT MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT
1753#endif
1755#undef MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT_NAME_COMPAT
1756#else
1757 return -1;
1758#endif //WB_MISSION_PRIORITY_FOR_OBSTACLES_GENERATED
1759 break;
1760 }
1761 case kwb_WavLoad_v:
1762 {
1763 return -1; /*TODO, add support for POD types.*/
1764 break;
1765 }
1766 case kwb_WavPlay_v:
1767 {
1768 return -1; /*TODO, add support for POD types.*/
1769 break;
1770 }
1772 {
1773 return -1; /*TODO, add support for POD types.*/
1774 break;
1775 }
1777 {
1778#if defined(WB_FREQUENCY_LIMITS_GENERATED) || defined(FREQUENCY_LIMITS_GENERATED) // FREQUENCY_LIMITS_GENERATED is legacy, don't use
1779#ifdef WB_FREQUENCY_LIMITS_C_STRUCT
1780#define FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT WB_FREQUENCY_LIMITS_C_STRUCT
1781#else
1782#define FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT FREQUENCY_LIMITS_C_STRUCT
1783#endif
1785#undef FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT
1786#else
1787 return -1;
1788#endif //WB_FREQUENCY_LIMITS_GENERATED
1789 break;
1790 }
1792 {
1793#if defined(WB_FREQUENCY_LIMITS_GENERATED) || defined(FREQUENCY_LIMITS_GENERATED) // FREQUENCY_LIMITS_GENERATED is legacy, don't use
1794#ifdef WB_FREQUENCY_LIMITS_C_STRUCT
1795#define FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT WB_FREQUENCY_LIMITS_C_STRUCT
1796#else
1797#define FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT FREQUENCY_LIMITS_C_STRUCT
1798#endif
1800#undef FREQUENCY_LIMITS_C_STRUCT_NAME_COMPAT
1801#else
1802 return -1;
1803#endif //WB_FREQUENCY_LIMITS_GENERATED
1804 break;
1805 }
1807 {
1808#if defined(WB_HEAD_JOINT_SENSORS_GENERATED) || defined(HEAD_JOINT_SENSORS_GENERATED) // HEAD_JOINT_SENSORS_GENERATED is legacy, don't use
1809#ifdef WB_HEAD_JOINT_SENSORS_C_STRUCT
1810#define HEAD_JOINT_SENSORS_C_STRUCT_NAME_COMPAT WB_HEAD_JOINT_SENSORS_C_STRUCT
1811#else
1812#define HEAD_JOINT_SENSORS_C_STRUCT_NAME_COMPAT HEAD_JOINT_SENSORS_C_STRUCT
1813#endif
1815#undef HEAD_JOINT_SENSORS_C_STRUCT_NAME_COMPAT
1816#else
1817 return -1;
1818#endif //WB_HEAD_JOINT_SENSORS_GENERATED
1819 break;
1820 }
1822 {
1823#if defined(WB_ADJUST_POSITION_CONFIDENCE_GENERATED) || defined(ADJUST_POSITION_CONFIDENCE_GENERATED) // ADJUST_POSITION_CONFIDENCE_GENERATED is legacy, don't use
1824#ifdef WB_ADJUST_POSITION_CONFIDENCE_C_STRUCT
1825#define ADJUST_POSITION_CONFIDENCE_C_STRUCT_NAME_COMPAT WB_ADJUST_POSITION_CONFIDENCE_C_STRUCT
1826#else
1827#define ADJUST_POSITION_CONFIDENCE_C_STRUCT_NAME_COMPAT ADJUST_POSITION_CONFIDENCE_C_STRUCT
1828#endif
1830#undef ADJUST_POSITION_CONFIDENCE_C_STRUCT_NAME_COMPAT
1831#else
1832 return -1;
1833#endif //WB_ADJUST_POSITION_CONFIDENCE_GENERATED
1834 break;
1835 }
1837 {
1838#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
1839#ifdef WB_GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT
1840#define GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT_NAME_COMPAT WB_GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT
1841#else
1842#define GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT_NAME_COMPAT GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT
1843#endif
1845#undef GU_VR_TELEOP_VULKAN_CONTROL_C_STRUCT_NAME_COMPAT
1846#else
1847 return -1;
1848#endif //WB_GU_VR_TELEOP_VULKAN_CONTROL_GENERATED
1849 break;
1850 }
1852 {
1853#if defined(WB_TEMPERATURE_SENSORS_GENERATED) || defined(TEMPERATURE_SENSORS_GENERATED) // TEMPERATURE_SENSORS_GENERATED is legacy, don't use
1854#ifdef WB_TEMPERATURE_SENSORS_C_STRUCT
1855#define TEMPERATURE_SENSORS_C_STRUCT_NAME_COMPAT WB_TEMPERATURE_SENSORS_C_STRUCT
1856#else
1857#define TEMPERATURE_SENSORS_C_STRUCT_NAME_COMPAT TEMPERATURE_SENSORS_C_STRUCT
1858#endif
1860#undef TEMPERATURE_SENSORS_C_STRUCT_NAME_COMPAT
1861#else
1862 return -1;
1863#endif //WB_TEMPERATURE_SENSORS_GENERATED
1864 break;
1865 }
1866 case kwb_Overheating_v:
1867 {
1868#if defined(WB_OVERHEATING_GENERATED) || defined(OVERHEATING_GENERATED) // OVERHEATING_GENERATED is legacy, don't use
1869#ifdef WB_OVERHEATING_C_STRUCT
1870#define OVERHEATING_C_STRUCT_NAME_COMPAT WB_OVERHEATING_C_STRUCT
1871#else
1872#define OVERHEATING_C_STRUCT_NAME_COMPAT OVERHEATING_C_STRUCT
1873#endif
1874 return SERIALISE(OVERHEATING_C_STRUCT_NAME_COMPAT, (struct OVERHEATING_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
1875#undef OVERHEATING_C_STRUCT_NAME_COMPAT
1876#else
1877 return -1;
1878#endif //WB_OVERHEATING_GENERATED
1879 break;
1880 }
1881 case kwb_buttonPushed_v:
1882 {
1883 return -1; /*TODO, add support for POD types.*/
1884 break;
1885 }
1886 case kwb_doorOpen_v:
1887 {
1888 return -1; /*TODO, add support for POD types.*/
1889 break;
1890 }
1891 case kwb_timeLeft_v:
1892 {
1893 return -1; /*TODO, add support for POD types.*/
1894 break;
1895 }
1896 case kwb_motor_v:
1897 {
1898 return -1; /*TODO, add support for POD types.*/
1899 break;
1900 }
1901 case kwb_sound_v:
1902 {
1903 return -1; /*TODO, add support for POD types.*/
1904 break;
1905 }
1906 case kwb_light_v:
1907 {
1908 return -1; /*TODO, add support for POD types.*/
1909 break;
1910 }
1911 case kwb_Arduino2Pin_v:
1912 {
1913 return -1; /*TODO, add support for POD types.*/
1914 break;
1915 }
1917 {
1918 return -1; /*TODO, add support for POD types.*/
1919 break;
1920 }
1921 case kwb_Arduino3Pin_v:
1922 {
1923 return -1; /*TODO, add support for POD types.*/
1924 break;
1925 }
1927 {
1928 return -1; /*TODO, add support for POD types.*/
1929 break;
1930 }
1931 case kwb_Arduino4Pin_v:
1932 {
1933 return -1; /*TODO, add support for POD types.*/
1934 break;
1935 }
1937 {
1938 return -1; /*TODO, add support for POD types.*/
1939 break;
1940 }
1941 case kwb_Arduino5Pin_v:
1942 {
1943 return -1; /*TODO, add support for POD types.*/
1944 break;
1945 }
1947 {
1948 return -1; /*TODO, add support for POD types.*/
1949 break;
1950 }
1951 case kwb_Arduino6Pin_v:
1952 {
1953 return -1; /*TODO, add support for POD types.*/
1954 break;
1955 }
1957 {
1958 return -1; /*TODO, add support for POD types.*/
1959 break;
1960 }
1961 case kwb_Arduino7Pin_v:
1962 {
1963 return -1; /*TODO, add support for POD types.*/
1964 break;
1965 }
1967 {
1968 return -1; /*TODO, add support for POD types.*/
1969 break;
1970 }
1971 case kwb_Arduino8Pin_v:
1972 {
1973 return -1; /*TODO, add support for POD types.*/
1974 break;
1975 }
1977 {
1978 return -1; /*TODO, add support for POD types.*/
1979 break;
1980 }
1981 case kwb_Arduino9Pin_v:
1982 {
1983 return -1; /*TODO, add support for POD types.*/
1984 break;
1985 }
1987 {
1988 return -1; /*TODO, add support for POD types.*/
1989 break;
1990 }
1991 case kwb_BallPosition_v:
1992 {
1993#if defined(WB_BALL_POSITION_GENERATED) || defined(BALL_POSITION_GENERATED) // BALL_POSITION_GENERATED is legacy, don't use
1994#ifdef WB_BALL_POSITION_C_STRUCT
1995#define BALL_POSITION_C_STRUCT_NAME_COMPAT WB_BALL_POSITION_C_STRUCT
1996#else
1997#define BALL_POSITION_C_STRUCT_NAME_COMPAT BALL_POSITION_C_STRUCT
1998#endif
1999 return SERIALISE(BALL_POSITION_C_STRUCT_NAME_COMPAT, (struct BALL_POSITION_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
2000#undef BALL_POSITION_C_STRUCT_NAME_COMPAT
2001#else
2002 return -1;
2003#endif //WB_BALL_POSITION_GENERATED
2004 break;
2005 }
2007 {
2008#if defined(WB_MEMORY_IMAGE_CONTROL_STATUS_GENERATED) || defined(MEMORY_IMAGE_CONTROL_STATUS_GENERATED) // MEMORY_IMAGE_CONTROL_STATUS_GENERATED is legacy, don't use
2009#ifdef WB_MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2010#define MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT WB_MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2011#else
2012#define MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2013#endif
2015#undef MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT
2016#else
2017 return -1;
2018#endif //WB_MEMORY_IMAGE_CONTROL_STATUS_GENERATED
2019 break;
2020 }
2022 {
2023#if defined(WB_MEMORY_IMAGE_CONTROL_STATUS_GENERATED) || defined(MEMORY_IMAGE_CONTROL_STATUS_GENERATED) // MEMORY_IMAGE_CONTROL_STATUS_GENERATED is legacy, don't use
2024#ifdef WB_MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2025#define MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT WB_MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2026#else
2027#define MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT
2028#endif
2030#undef MEMORY_IMAGE_CONTROL_STATUS_C_STRUCT_NAME_COMPAT
2031#else
2032 return -1;
2033#endif //WB_MEMORY_IMAGE_CONTROL_STATUS_GENERATED
2034 break;
2035 }
2036 case kwb_LHandGripper_v:
2037 {
2038 return -1; /*TODO, add support for POD types.*/
2039 break;
2040 }
2041 case kwb_RHandGripper_v:
2042 {
2043 return -1; /*TODO, add support for POD types.*/
2044 break;
2045 }
2046 case kwb_MyPosition_v:
2047 {
2048#if defined(WB_MY_POSITION_GENERATED) || defined(MY_POSITION_GENERATED) // MY_POSITION_GENERATED is legacy, don't use
2049#ifdef WB_MY_POSITION_C_STRUCT
2050#define MY_POSITION_C_STRUCT_NAME_COMPAT WB_MY_POSITION_C_STRUCT
2051#else
2052#define MY_POSITION_C_STRUCT_NAME_COMPAT MY_POSITION_C_STRUCT
2053#endif
2054 return SERIALISE(MY_POSITION_C_STRUCT_NAME_COMPAT, (struct MY_POSITION_C_STRUCT_NAME_COMPAT *)message_in, serialised_out)
2055#undef MY_POSITION_C_STRUCT_NAME_COMPAT
2056#else
2057 return -1;
2058#endif //WB_MY_POSITION_GENERATED
2059 break;
2060 }
2062 {
2063#if defined(WB_VISION_DETECTION_LINES_GENERATED) || defined(VISION_DETECTION_LINES_GENERATED) // VISION_DETECTION_LINES_GENERATED is legacy, don't use
2064#ifdef WB_VISION_DETECTION_LINES_C_STRUCT
2065#define VISION_DETECTION_LINES_C_STRUCT_NAME_COMPAT WB_VISION_DETECTION_LINES_C_STRUCT
2066#else
2067#define VISION_DETECTION_LINES_C_STRUCT_NAME_COMPAT VISION_DETECTION_LINES_C_STRUCT
2068#endif
2070#undef VISION_DETECTION_LINES_C_STRUCT_NAME_COMPAT
2071#else
2072 return -1;
2073#endif //WB_VISION_DETECTION_LINES_GENERATED
2074 break;
2075 }
2077 {
2078#if defined(WB_VISION_DETECTION_FEATURES_GENERATED) || defined(VISION_DETECTION_FEATURES_GENERATED) // VISION_DETECTION_FEATURES_GENERATED is legacy, don't use
2079#ifdef WB_VISION_DETECTION_FEATURES_C_STRUCT
2080#define VISION_DETECTION_FEATURES_C_STRUCT_NAME_COMPAT WB_VISION_DETECTION_FEATURES_C_STRUCT
2081#else
2082#define VISION_DETECTION_FEATURES_C_STRUCT_NAME_COMPAT VISION_DETECTION_FEATURES_C_STRUCT
2083#endif
2085#undef VISION_DETECTION_FEATURES_C_STRUCT_NAME_COMPAT
2086#else
2087 return -1;
2088#endif //WB_VISION_DETECTION_FEATURES_GENERATED
2089 break;
2090 }
2091 }
2092#pragma clang diagnostic push
2093#pragma clang diagnostic ignored "-Wunreachable-code"
2094 /*(void) message_content;*/
2095 return -1;
2096#pragma clang diagnostic pop
2097}
2098
2099#endif //WB_GUWHITEBOARDSERIALISER_C
2100
2101#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
#define MISSION_PRIORITY_FOR_OBSTACLES_C_STRUCT_NAME_COMPAT
#define COUNT_C_STRUCT_NAME_COMPAT
int32_t serialisemsg(wb_types message_index, const void *message_in, void *serialised_out)
/file guwhiteboardserialisation.h
#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 SERIALISE(_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