60#ifndef FilteredArrayOneDimBall_DEFINED
61#define FilteredArrayOneDimBall_DEFINED
77#define SEPARATOR_IS_COMMA ','
78#define SEPARATOR_IS_COLON ':'
79#define IS_VISIBLE_ID 'I'
103 memcpy(
this, &other,
sizeof(other));
109 memcpy(
this, &other,
sizeof(other));
138#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
151 std::ostringstream ss;
154 FilteredBallObjectType landmarkType = FilteredBallObjectType(i);
155 switch (landmarkType )
172 std::istringstream iss(str);
178 std::size_t found = str.find(top);
179 if (std::string::npos!=found )
180 { std::string strFortop=str.substr (found+top.size());
185 found = str.find(bottom);
186 if (std::string::npos!=found )
187 { std::string strForbottom=str.substr (found+bottom.size());
#define SEPARATOR_IS_COLON
Provides a C++ wrapper around wb_filtered_arrayballsightings.
const FilteredVisionObject * objects() const
void set_objects(const FilteredVisionObject *t_newValue)
Class for for the array of ball sighthings TOP or Bottom.
void set_objects(const class FilteredArrayOneDimBall *t_objects)
property getter
FilteredArrayOneDimBall & operator=(const FilteredArrayOneDimBall &other)
copy assignment operator
FilteredArrayOneDimBall(const class FilteredOneDimObject &obj, enum FilteredVisionObjectType landmarkType=FVOBallTop)
constructor with one setter
FilteredOneDimObject get_object(enum FilteredVisionObjectType landmarkType=FVOBallTop)
single vision object setter
FilteredArrayOneDimBall()
designated constructor
FilteredArrayOneDimBall(const std::string &names)
string constructor
void from_string(const std::string &str)
build from string
FilteredArrayOneDimBall(const FilteredArrayOneDimBall &other)
copy constructor
FilteredArrayOneDimBall(const char *names)
const char * constructor
void set_object(const class FilteredOneDimObject &obj, enum FilteredVisionObjectType landmarkType=FVOBallTop)
single vision object setter
std::string description()
convert to a string; string serialization
A class to contain objects that have been filtered through localisation.
std::string description() const
convert to a string
Provides a C++ wrapper around wb_filtered_vision_object.
The class of landmarks filtered regarding goal sightings.
struct wb_filtered_vision_object objects[2]
the array containing filtered balls on separate cameras reported by vision FVO_NUM_CAMERAS =2
@ FVO_NUM_CAMERAS
number of different cameras
@ FVOBallTop
Filtered information ball on top camera.
@ FVOBallBottom
Filtered information ball on bottom camera.