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 
46  inline bool IsShowRays() {
47  return m_bShowRays;
48  }
49 
54  inline void SetShowRays(bool b_show_rays) {
55  m_bShowRays = b_show_rays;
56  }
57 
58  protected:
59 
67 
68  };
69 }
70 
71 #endif
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
Basic class for an entity that contains other entities.
An entity that contains a pointer to the user-defined controller.
This entity is a link to a body in the physics engine.
The basic interface for a simulated sensor.
Definition: sensor.h:24
A data structure that contains positional entities.
This class provides the most general interface to a camera.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
virtual void Disable()
Disables updating of sensor information in the event loop.
bool IsShowRays()
Returns true if the rays must be shown in the GUI.
virtual void Enable()
Enables updating of sensor information in the event loop.
void SetShowRays(bool b_show_rays)
Sets whether or not the rays must be shown in the GUI.
virtual void Reset()
Resets the sensor to the state it had just after Init().
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
virtual void Update()
Updates the state of the entity associated to this sensor, if the sensor is currently enabled.