60#ifndef wb_vision_detection_balls_h
61#define wb_vision_detection_balls_h
63#pragma clang diagnostic push
64#pragma clang diagnostic ignored "-Wreserved-id-macro"
68# define _POSIX_SOURCE 200112L
72# define _XOPEN_SOURCE 700
75# ifndef _DARWIN_C_SOURCE
76# define _DARWIN_C_SOURCE 200112L
78# ifndef __DARWIN_C_LEVEL
79# define __DARWIN_C_LEVEL 200112L
83#pragma clang diagnostic pop
91#define VISION_DETECTION_BALLS_GENERATED
92#define VISION_DETECTION_BALLS_C_STRUCT wb_vision_detection_balls
93#define VISION_DETECTION_BALLS_NUMBER_OF_VARIABLES 4
95#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
96#define VISION_DETECTION_BALLS_DESC_BUFFER_SIZE 588
97#define VISION_DETECTION_BALLS_TO_STRING_BUFFER_SIZE 549
100#define VISION_DETECTION_BALLS_BALLS_ARRAY_SIZE 2
138#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
WHITEBOARD_POSTER_STRING_CONVERSION.
Array of fieldBalls, one instance reported by each camera.
uint64_t frameNumber
visionFrameNumber
uint16_t res_height
The resolution height.
struct wb_vision_detection_ball balls[2]
ball objects
uint16_t res_width
The resolution width.
size_t wb_vision_detection_balls_from_network_serialised(const char *src, struct wb_vision_detection_balls *dst)
Network stream deserialisation.
const char * wb_vision_detection_balls_to_string(const struct wb_vision_detection_balls *self, char *toString, size_t bufferSize)
Convert to a string.
#define VISION_DETECTION_BALLS_BALLS_ARRAY_SIZE
WHITEBOARD_POSTER_STRING_CONVERSION.
const char * wb_vision_detection_balls_description(const struct wb_vision_detection_balls *self, char *descString, size_t bufferSize)
Convert to a description string.
size_t wb_vision_detection_balls_to_network_serialised(const struct wb_vision_detection_balls *self, char *dst)
WHITEBOARD_POSTER_STRING_CONVERSION.
struct wb_vision_detection_balls * wb_vision_detection_balls_from_string(struct wb_vision_detection_balls *self, const char *str)
Convert from a string.