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();
float Real
Collects all ARGoS code.
The namespace containing all the ARGoS related code.
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.
CProximitySensorEquippedEntity & GetProximitySensorEquippedEntity()
CRABEquippedEntity & GetRABEquippedEntity()
CWheeledEntity & GetWheeledEntity()
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
CLEDEquippedEntity & GetLEDEquippedEntity()
CBatteryEquippedEntity & GetBatterySensorEquippedEntity()
CGroundSensorEquippedEntity & GetGroundSensorEquippedEntity()
CControllableEntity & GetControllableEntity()
virtual std::string GetTypeDescription() const
Returns a string label for this class.
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.
virtual void Destroy()
Destroys the entity, undoing whatever was done by Init() or by the standalone constructor.
CEmbodiedEntity & GetEmbodiedEntity()
CLightSensorEquippedEntity & GetLightSensorEquippedEntity()
A container of CLEDEntity.