60#ifndef wb_machine_filtered_vision_h
61#define wb_machine_filtered_vision_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
95#define MACHINE_FILTERED_VISION_GENERATED
96#define MACHINE_FILTERED_VISION_C_STRUCT wb_machine_filtered_vision
97#define MACHINE_FILTERED_VISION_NUMBER_OF_VARIABLES 7
99#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
100#define MACHINE_FILTERED_VISION_DESC_BUFFER_SIZE 655
101#define MACHINE_FILTERED_VISION_TO_STRING_BUFFER_SIZE 553
153#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
WHITEBOARD_POSTER_STRING_CONVERSION.
uint16_t goal_distance
CM distance to the ball.
enum GoalSightingType goal_sightingType
The type of the goal sighting.
bool ball_visible
has the ball been seen enough by vision to be considered actually 'visible'.
bool goal_visible
has the ball been seen enough by vision to be considered actually 'visible'.
uint16_t ball_distance
CM distance to the ball.
int8_t goal_direction
degrees, relative to the center of the nao torso.
int8_t ball_direction
degrees, relative to the center of the nao torso.
size_t wb_machine_filtered_vision_to_network_serialised(const struct wb_machine_filtered_vision *self, char *dst)
WHITEBOARD_POSTER_STRING_CONVERSION.
const char * wb_machine_filtered_vision_to_string(const struct wb_machine_filtered_vision *self, char *toString, size_t bufferSize)
Convert to a string.
struct wb_machine_filtered_vision * wb_machine_filtered_vision_from_string(struct wb_machine_filtered_vision *self, const char *str)
Convert from a string.
size_t wb_machine_filtered_vision_from_network_serialised(const char *src, struct wb_machine_filtered_vision *dst)
Network stream deserialisation.
const char * wb_machine_filtered_vision_description(const struct wb_machine_filtered_vision *self, char *descString, size_t bufferSize)
Convert to a description string.