60#ifndef wb_vision_lines_h
61#define wb_vision_lines_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 VISION_LINES_GENERATED
91#define VISION_LINES_C_STRUCT wb_vision_lines
92#define VISION_LINES_NUMBER_OF_VARIABLES 5
94#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
95#define VISION_LINES_DESC_BUFFER_SIZE 602
96#define VISION_LINES_TO_STRING_BUFFER_SIZE 554
99#define VISION_LINES_LINES_ARRAY_SIZE 7
139#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
WHITEBOARD_POSTER_STRING_CONVERSION.
Class use to represent lines detected by vision for a single camera and posted to the whiteboard.
uint8_t numLines
The number of lines reported on the camera.
uint16_t res_width
The resolution width.
uint64_t frameNumber
The frame number that these lines were seen in.
struct wb_vision_line lines[7]
Lines reported from the camera.
uint16_t res_height
The resolution height.
const char * wb_vision_lines_description(const struct wb_vision_lines *self, char *descString, size_t bufferSize)
Convert to a description string.
struct wb_vision_lines * wb_vision_lines_from_string(struct wb_vision_lines *self, const char *str)
Convert from a string.
const char * wb_vision_lines_to_string(const struct wb_vision_lines *self, char *toString, size_t bufferSize)
Convert to a string.
size_t wb_vision_lines_to_network_serialised(const struct wb_vision_lines *self, char *dst)
WHITEBOARD_POSTER_STRING_CONVERSION.
size_t wb_vision_lines_from_network_serialised(const char *src, struct wb_vision_lines *dst)
Network stream deserialisation.
#define VISION_LINES_LINES_ARRAY_SIZE
WHITEBOARD_POSTER_STRING_CONVERSION.