Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a00345.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a00345.php on line 2
The ARGoS Website

argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob Struct Reference

An SBlob represents a generic colored 2D segment in the image. More...

#include <ci_colored_blob_omnidirectional_camera_sensor.h>

Collaboration diagram for argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob:

Public Member Functions

 SBlob ()
 Constructor. More...
 
 SBlob (const CColor &c_color, const CRadians &c_angle, Real f_distance)
 Constructor with paramters. More...
 

Public Attributes

CColor Color
 
CRadians Angle
 
Real Distance
 

Friends

std::ostream & operator<< (std::ostream &c_os, const SBlob &s_blob)
 

Detailed Description

An SBlob represents a generic colored 2D segment in the image.

A blob has a color as defined by the CColor class. The position of the blob is given in polar coordinates. The angle is counted counter-clockwise watching the FootBot from top, as to respect the general frame convention. As for the distances, both the distance in cms from the robot center and in pixels from the optical center in the image are given. The last attribute is the area of the blob in pixels.

See also
CColor

Definition at line 40 of file ci_colored_blob_omnidirectional_camera_sensor.h.

Constructor & Destructor Documentation

argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob::SBlob ( )
inline

Constructor.

Definition at line 50 of file ci_colored_blob_omnidirectional_camera_sensor.h.

argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob::SBlob ( const CColor c_color,
const CRadians c_angle,
Real  f_distance 
)
inline

Constructor with paramters.

Parameters
c_colorBlob color
c_angleBlob center
f_distanceBlob distance in cm

Definition at line 60 of file ci_colored_blob_omnidirectional_camera_sensor.h.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  c_os,
const SBlob s_blob 
)
friend

Member Data Documentation

CRadians argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob::Angle
CColor argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob::Color
Real argos::CCI_ColoredBlobOmnidirectionalCameraSensor::SBlob::Distance