ARGoS  3
A parallel, multi-engine simulator for swarm robotics
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>

List of all members.

Public Member Functions

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

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 38 of file ci_colored_blob_omnidirectional_camera_sensor.h.


Constructor & Destructor Documentation

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
f_raw_distanceBlob distance in pixels
f_areaBlob Area in pixel

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


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