11 class CControllableEntity;
12 class CEmbodiedEntity;
14 class CGroundSensorEquippedEntity;
15 class CLEDEquippedEntity;
16 class CLightSensorEquippedEntity;
17 class CProximitySensorEquippedEntity;
18 class CRABEquippedEntity;
19 class CBatteryEquippedEntity;
22 #include <argos3/core/simulator/entity/composable_entity.h>
23 #include <argos3/plugins/simulator/entities/wheeled_entity.h>
38 const std::string& str_controller_id,
41 Real f_rab_range = 0.8f,
42 size_t un_rab_data_size = 2,
43 const std::string& str_bat_model =
"");
52 return *m_pcControllableEntity;
56 return *m_pcEmbodiedEntity;
60 return *m_pcGroundSensorEquippedEntity;
64 return *m_pcLEDEquippedEntity;
68 return *m_pcLightSensorEquippedEntity;
72 return *m_pcProximitySensorEquippedEntity;
76 return *m_pcRABEquippedEntity;
80 return *m_pcWheeledEntity;
84 return *m_pcBatteryEquippedEntity;
93 void SetLEDPosition();
virtual void Reset()
Resets the state of the entity to whatever it was after Init() or the standalone constructor was call...
An entity that contains a pointer to the user-defined controller.
CRABEquippedEntity & GetRABEquippedEntity()
float Real
Collects all ARGoS code.
CEmbodiedEntity & GetEmbodiedEntity()
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
This entity is a link to a body in the physics engine.
CGroundSensorEquippedEntity & GetGroundSensorEquippedEntity()
virtual void Destroy()
Destroys the entity, undoing whatever was done by Init() or by the standalone constructor.
CWheeledEntity & GetWheeledEntity()
A container of CLEDEntity.
Basic class for an entity that contains other entities.
CBatteryEquippedEntity & GetBatterySensorEquippedEntity()
CLEDEquippedEntity & GetLEDEquippedEntity()
virtual void UpdateComponents()
Calls the Update() method on all the components.
virtual std::string GetTypeDescription() const
Returns a string label for this class.
CProximitySensorEquippedEntity & GetProximitySensorEquippedEntity()
The namespace containing all the ARGoS related code.
CLightSensorEquippedEntity & GetLightSensorEquippedEntity()
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
CControllableEntity & GetControllableEntity()