7 #ifndef EYEBOT_ENTITY_H
8 #define EYEBOT_ENTITY_H
11 class CControllableEntity;
12 class CEmbodiedEntity;
14 class CLEDEquippedEntity;
15 class CLightSensorEquippedEntity;
16 class CPerspectiveCameraEquippedEntity;
17 class CProximitySensorEquippedEntity;
18 class CQuadRotorEntity;
19 class CRABEquippedEntity;
20 class CBatteryEquippedEntity;
23 #include <argos3/core/simulator/entity/composable_entity.h>
38 const std::string& str_controller_id,
41 Real f_rab_range = 3.0f,
42 size_t un_rab_data_size = 10,
43 const std::string& str_bat_model =
"",
45 Real f_perspcam_focal_length = 0.035,
46 Real f_perspcam_range = 2.0);
54 return *m_pcControllableEntity;
58 return *m_pcEmbodiedEntity;
62 return *m_pcLEDEquippedEntity;
66 return *m_pcLightSensorEquippedEntity;
70 return *m_pcProximitySensorEquippedEntity;
74 return *m_pcQuadRotorEntity;
78 return *m_pcRABEquippedEntity;
82 return *m_pcBatteryEquippedEntity;
An entity that contains a pointer to the user-defined controller.
float Real
Collects all ARGoS code.
CRABEquippedEntity & GetRABEquippedEntity()
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
This entity is a link to a body in the physics engine.
CEmbodiedEntity & GetEmbodiedEntity()
It defines the basic type CDegrees, used to store an angle value in degrees.
It defines the basic type CRadians, used to store an angle value in radians.
virtual void UpdateComponents()
Calls the Update() method on all the components.
CBatteryEquippedEntity & GetBatterySensorEquippedEntity()
A container of CLEDEntity.
Basic class for an entity that contains other entities.
virtual void Reset()
Resets the state of the entity to whatever it was after Init() or the standalone constructor was call...
CRadians ToRadians(const CDegrees &c_degrees)
Converts CDegrees to CRadians.
CControllableEntity & GetControllableEntity()
CProximitySensorEquippedEntity & GetProximitySensorEquippedEntity()
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
The namespace containing all the ARGoS related code.
CLEDEquippedEntity & GetLEDEquippedEntity()
virtual std::string GetTypeDescription() const
Returns a string label for this class.
CLightSensorEquippedEntity & GetLightSensorEquippedEntity()
CQuadRotorEntity & GetQuadRotorEntity()