gusimplewhiteboard
wb_vision_detection_horizon Struct Reference

WHITEBOARD_POSTER_STRING_CONVERSION. More...

#include <wb_vision_detection_horizon.h>

Inheritance diagram for wb_vision_detection_horizon:
Collaboration diagram for wb_vision_detection_horizon:

Public Attributes

enum HorizonOptions horizonType
 Type of Horizon. More...
 
struct wb_pixel_coordinate leftCoordinate
 Left horizon point pixel coordinate. More...
 
struct wb_pixel_coordinate centerCoordinate
 Center horizon point pixel coordinate. More...
 
struct wb_pixel_coordinate rightCoordinate
 Right horizon point pixel coordinate. More...
 

Detailed Description

WHITEBOARD_POSTER_STRING_CONVERSION.

This class is for Vision to report the edge of the SPL soccer field. It does not report the field Bounds, that needs white line detection. This is for the edge of green.

Results are in centered pixel coordinate of the image utilised, at whatever the resolution happen to be. You can check the vision_detection_horizons message for resolution information.

It will attempt to report the projected horizon to the far left X position and the far right position. In the event that the projected position is outside the image bounds. It will project the horizon only as far as the image bound.

Definition at line 133 of file wb_vision_detection_horizon.h.

Member Data Documentation

◆ centerCoordinate

◆ horizonType

◆ leftCoordinate

◆ rightCoordinate


The documentation for this struct was generated from the following file: