60#ifndef wb_nao_obstacle_direction_h
61#define wb_nao_obstacle_direction_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
88#define NAO_OBSTACLE_DIRECTION_GENERATED
89#define NAO_OBSTACLE_DIRECTION_C_STRUCT wb_nao_obstacle_direction
90#define NAO_OBSTACLE_DIRECTION_NUMBER_OF_VARIABLES 3
92#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
93#define NAO_OBSTACLE_DIRECTION_DESC_BUFFER_SIZE 37
94#define NAO_OBSTACLE_DIRECTION_TO_STRING_BUFFER_SIZE 20
125#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
WHITEBOARD_POSTER_STRING_CONVERSION.
bool left
Do I have an obstacle 40 cm to my left (check SMSubsumption machine methods)
bool right
Do I have an obstacle 40 cm to my left (check SMSubsumption machine methods)
bool front
Do I have an obstacle 40 cm to my left (check SMSubsumption machine methods)
struct wb_nao_obstacle_direction * wb_nao_obstacle_direction_from_string(struct wb_nao_obstacle_direction *self, const char *str)
Convert from a string.
size_t wb_nao_obstacle_direction_from_network_serialised(const char *src, struct wb_nao_obstacle_direction *dst)
Network stream deserialisation.
const char * wb_nao_obstacle_direction_to_string(const struct wb_nao_obstacle_direction *self, char *toString, size_t bufferSize)
Convert to a string.
size_t wb_nao_obstacle_direction_to_network_serialised(const struct wb_nao_obstacle_direction *self, char *dst)
WHITEBOARD_POSTER_STRING_CONVERSION.
const char * wb_nao_obstacle_direction_description(const struct wb_nao_obstacle_direction *self, char *descString, size_t bufferSize)
Convert to a description string.