60#ifndef wb_vision_detection_feature_array_h
61#define wb_vision_detection_feature_array_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_DETECTION_FEATURE_ARRAY_GENERATED
91#define VISION_DETECTION_FEATURE_ARRAY_C_STRUCT wb_vision_detection_feature_array
92#define VISION_DETECTION_FEATURE_ARRAY_NUMBER_OF_VARIABLES 2
94#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
95#define VISION_DETECTION_FEATURE_ARRAY_DESC_BUFFER_SIZE 539
96#define VISION_DETECTION_FEATURE_ARRAY_TO_STRING_BUFFER_SIZE 518
99#define VISION_DETECTION_FEATURE_ARRAY_FEATURES_ARRAY_SIZE 7
124#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
Results for the Feature Detector (guvision).
uint8_t numFeatures
The number of features reported on the camera.
struct wb_vision_detection_feature features[7]
Features reported from the camera.
WHITEBOARD_POSTER_STRING_CONVERSION.
const char * wb_vision_detection_feature_array_description(const struct wb_vision_detection_feature_array *self, char *descString, size_t bufferSize)
Convert to a description string.
#define VISION_DETECTION_FEATURE_ARRAY_FEATURES_ARRAY_SIZE
WHITEBOARD_POSTER_STRING_CONVERSION.
const char * wb_vision_detection_feature_array_to_string(const struct wb_vision_detection_feature_array *self, char *toString, size_t bufferSize)
Convert to a string.
size_t wb_vision_detection_feature_array_to_network_serialised(const struct wb_vision_detection_feature_array *self, char *dst)
WHITEBOARD_POSTER_STRING_CONVERSION.
size_t wb_vision_detection_feature_array_from_network_serialised(const char *src, struct wb_vision_detection_feature_array *dst)
Network stream deserialisation.
struct wb_vision_detection_feature_array * wb_vision_detection_feature_array_from_string(struct wb_vision_detection_feature_array *self, const char *str)
Convert from a string.