60#ifndef wb_polar_coordinate_h
61#define wb_polar_coordinate_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
90#define POLAR_COORDINATE_GENERATED
91#define POLAR_COORDINATE_C_STRUCT wb_polar_coordinate
92#define POLAR_COORDINATE_NUMBER_OF_VARIABLES 2
94#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
95#define POLAR_COORDINATE_DESC_BUFFER_SIZE 33
96#define POLAR_COORDINATE_TO_STRING_BUFFER_SIZE 14
121#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
WHITEBOARD_POSTER_STRING_CONVERSION.
int16_t direction
degrees, relative to the center of the nao torso.
uint16_t distance
CM distance to the center point of the sighting.
size_t wb_polar_coordinate_to_network_serialised(const struct wb_polar_coordinate *self, char *dst)
WHITEBOARD_POSTER_STRING_CONVERSION.
struct wb_polar_coordinate * wb_polar_coordinate_from_string(struct wb_polar_coordinate *self, const char *str)
Convert from a string.
size_t wb_polar_coordinate_from_network_serialised(const char *src, struct wb_polar_coordinate *dst)
Network stream deserialisation.
const char * wb_polar_coordinate_to_string(const struct wb_polar_coordinate *self, char *toString, size_t bufferSize)
Convert to a string.
const char * wb_polar_coordinate_description(const struct wb_polar_coordinate *self, char *descString, size_t bufferSize)
Convert to a description string.