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;
float Real
Collects all ARGoS code.
The namespace containing all the ARGoS related code.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
CRadians ToRadians(const CDegrees &c_degrees)
Converts CDegrees to CRadians.
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.
It defines the basic type CRadians, used to store an angle value in radians.
It defines the basic type CDegrees, used to store an angle value in degrees.
CEmbodiedEntity & GetEmbodiedEntity()
CLightSensorEquippedEntity & GetLightSensorEquippedEntity()
virtual void Reset()
Resets the state of the entity to whatever it was after Init() or the standalone constructor was call...
virtual void UpdateComponents()
Calls the Update() method on all the components.
CControllableEntity & GetControllableEntity()
CRABEquippedEntity & GetRABEquippedEntity()
CBatteryEquippedEntity & GetBatterySensorEquippedEntity()
virtual std::string GetTypeDescription() const
Returns a string label for this class.
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
CQuadRotorEntity & GetQuadRotorEntity()
CLEDEquippedEntity & GetLEDEquippedEntity()
CProximitySensorEquippedEntity & GetProximitySensorEquippedEntity()
A container of CLEDEntity.