ARGoS  3
A parallel, multi-engine simulator for swarm robotics
colored_blob_perspective_camera_default_sensor.h
Go to the documentation of this file.
1 #ifndef COLORED_BLOB_PERSPECTIVE_CAMERA_DEFAULT_SENSOR_H
2 #define COLORED_BLOB_PERSPECTIVE_CAMERA_DEFAULT_SENSOR_H
3 
4 namespace argos {
5  class CColoredBlobPerspectiveCameraDefaultSensor;
6  class CPerspectiveCameraEquippedEntity;
7  class CLEDEntity;
8  class CControllableEntity;
9  class CPerspectiveCameraLEDCheckOperation;
10 }
11 
12 #include <argos3/core/utility/math/rng.h>
13 #include <argos3/core/simulator/space/space.h>
14 #include <argos3/core/simulator/sensor.h>
15 #include <argos3/plugins/robots/generic/control_interface/ci_colored_blob_perspective_camera_sensor.h>
16 
17 namespace argos {
18 
20  public CSimulatedSensor {
21 
22  public:
23 
25 
27 
28  virtual void SetRobot(CComposableEntity& c_entity);
29 
30  virtual void Init(TConfigurationNode& t_tree);
31 
32  virtual void Update();
33 
34  virtual void Reset();
35 
36  virtual void Destroy();
37 
38  virtual void Enable();
39 
40  virtual void Disable();
41 
42  protected:
43 
44  bool m_bEnabled;
52 
53  };
54 }
55 
56 #endif
argos::CColoredBlobPerspectiveCameraDefaultSensor::m_bEnabled
bool m_bEnabled
Definition: colored_blob_perspective_camera_default_sensor.h:44
argos::CColoredBlobPerspectiveCameraDefaultSensor::Disable
virtual void Disable()
Disables image acquisition and processing.
Definition: colored_blob_perspective_camera_default_sensor.cpp:254
argos::CColoredBlobPerspectiveCameraDefaultSensor::m_pcOperation
CPerspectiveCameraLEDCheckOperation * m_pcOperation
Definition: colored_blob_perspective_camera_default_sensor.h:50
argos
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
argos::CColoredBlobPerspectiveCameraDefaultSensor::Enable
virtual void Enable()
Enables image acquisition and processing.
Definition: colored_blob_perspective_camera_default_sensor.cpp:246
argos::CColoredBlobPerspectiveCameraDefaultSensor::Destroy
virtual void Destroy()
Destroys the sensor.
Definition: colored_blob_perspective_camera_default_sensor.cpp:239
argos::CPerspectiveCameraEquippedEntity
Definition: perspective_camera_equipped_entity.h:23
argos::CComposableEntity
Basic class for an entity that contains other entities.
Definition: composable_entity.h:32
argos::CCI_ColoredBlobPerspectiveCameraSensor
This class provides the most general interface to a camera.
Definition: ci_colored_blob_perspective_camera_sensor.h:26
argos::CColoredBlobPerspectiveCameraDefaultSensor::m_pcEmbodiedEntity
CEmbodiedEntity * m_pcEmbodiedEntity
Definition: colored_blob_perspective_camera_default_sensor.h:47
argos::CEmbodiedEntity
This entity is a link to a body in the physics engine.
Definition: embodied_entity.h:48
argos::CColoredBlobPerspectiveCameraDefaultSensor::SetRobot
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
Definition: colored_blob_perspective_camera_default_sensor.cpp:160
argos::TConfigurationNode
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
Definition: argos_configuration.h:27
argos::CColoredBlobPerspectiveCameraDefaultSensor
Definition: colored_blob_perspective_camera_default_sensor.h:19
argos::CColoredBlobPerspectiveCameraDefaultSensor::m_bShowRays
bool m_bShowRays
Definition: colored_blob_perspective_camera_default_sensor.h:51
argos::CColoredBlobPerspectiveCameraDefaultSensor::Init
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
Definition: colored_blob_perspective_camera_default_sensor.cpp:172
argos::CColoredBlobPerspectiveCameraDefaultSensor::m_pcEmbodiedIndex
CPositionalIndex< CEmbodiedEntity > * m_pcEmbodiedIndex
Definition: colored_blob_perspective_camera_default_sensor.h:49
argos::CColoredBlobPerspectiveCameraDefaultSensor::~CColoredBlobPerspectiveCameraDefaultSensor
virtual ~CColoredBlobPerspectiveCameraDefaultSensor()
Definition: colored_blob_perspective_camera_default_sensor.cpp:154
argos::CColoredBlobPerspectiveCameraDefaultSensor::Reset
virtual void Reset()
Resets the sensor to the state it had just after Init().
Definition: colored_blob_perspective_camera_default_sensor.cpp:231
argos::CColoredBlobPerspectiveCameraDefaultSensor::m_pcCamEntity
CPerspectiveCameraEquippedEntity * m_pcCamEntity
Definition: colored_blob_perspective_camera_default_sensor.h:45
argos::CPerspectiveCameraLEDCheckOperation
Definition: colored_blob_perspective_camera_default_sensor.cpp:15
argos::CColoredBlobPerspectiveCameraDefaultSensor::Update
virtual void Update()
Updates the state of the entity associated to this sensor.
Definition: colored_blob_perspective_camera_default_sensor.cpp:202
argos::CPositionalIndex
A data structure that contains positional entities.
Definition: positional_index.h:29
argos::CColoredBlobPerspectiveCameraDefaultSensor::m_pcControllableEntity
CControllableEntity * m_pcControllableEntity
Definition: colored_blob_perspective_camera_default_sensor.h:46
argos::CColoredBlobPerspectiveCameraDefaultSensor::CColoredBlobPerspectiveCameraDefaultSensor
CColoredBlobPerspectiveCameraDefaultSensor()
Definition: colored_blob_perspective_camera_default_sensor.cpp:141
argos::CSimulatedSensor
The basic interface for a simulated sensor.
Definition: sensor.h:22
argos::CControllableEntity
An entity that contains a pointer to the user-defined controller.
Definition: controllable_entity.h:26
argos::CColoredBlobPerspectiveCameraDefaultSensor::m_pcLEDIndex
CPositionalIndex< CLEDEntity > * m_pcLEDIndex
Definition: colored_blob_perspective_camera_default_sensor.h:48