ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
This class provides the most general interface to a camera. More...
#include <ci_colored_blob_omnidirectional_camera_sensor.h>
Classes | |
struct | SBlob |
An SBlob represents a generic colored 2D segment in the image. More... | |
struct | SReadings |
It represents the readings collected through the camera at a specific time step. More... | |
Public Types | |
typedef std::vector< SBlob * > | TBlobList |
Vector of pointers to colored blobs. | |
Public Member Functions | |
CCI_ColoredBlobOmnidirectionalCameraSensor () | |
Constructor. | |
virtual | ~CCI_ColoredBlobOmnidirectionalCameraSensor () |
Destructor. | |
const SReadings & | GetReadings () const |
Returns a reference to the current camera readings. | |
virtual void | Enable ()=0 |
Enables image acquisition and processing. | |
virtual void | Disable ()=0 |
Disables image acquisition and processing. | |
Protected Attributes | |
SReadings | m_sReadings |
This class provides the most general interface to a camera.
The camera sensor enables the user to extract information from the images acquired by the simulated or by the physical camera. This interface defines also the basic type of information that at the moment it is possible to extract from image processing on the real robot, that is the position of the colored LED of neighboring robots. The camera can be enabled and disabled, in order to save computation time.
Definition at line 24 of file ci_colored_blob_omnidirectional_camera_sensor.h.
typedef std::vector<SBlob*> argos::CCI_ColoredBlobOmnidirectionalCameraSensor::TBlobList |
Vector of pointers to colored blobs.
Definition at line 78 of file ci_colored_blob_omnidirectional_camera_sensor.h.
argos::CCI_ColoredBlobOmnidirectionalCameraSensor::CCI_ColoredBlobOmnidirectionalCameraSensor | ( | ) | [inline] |
Constructor.
Definition at line 107 of file ci_colored_blob_omnidirectional_camera_sensor.h.
virtual argos::CCI_ColoredBlobOmnidirectionalCameraSensor::~CCI_ColoredBlobOmnidirectionalCameraSensor | ( | ) | [inline, virtual] |
Destructor.
Definition at line 113 of file ci_colored_blob_omnidirectional_camera_sensor.h.
virtual void argos::CCI_ColoredBlobOmnidirectionalCameraSensor::Disable | ( | ) | [pure virtual] |
Disables image acquisition and processing.
Implemented in argos::CColoredBlobOmnidirectionalCameraRotZOnlySensor.
virtual void argos::CCI_ColoredBlobOmnidirectionalCameraSensor::Enable | ( | ) | [pure virtual] |
Enables image acquisition and processing.
Implemented in argos::CColoredBlobOmnidirectionalCameraRotZOnlySensor.
const SReadings& argos::CCI_ColoredBlobOmnidirectionalCameraSensor::GetReadings | ( | ) | const [inline] |
Returns a reference to the current camera readings.
Definition at line 120 of file ci_colored_blob_omnidirectional_camera_sensor.h.
Definition at line 142 of file ci_colored_blob_omnidirectional_camera_sensor.h.