ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
11 class CControllableEntity;
12 class CEmbodiedEntity;
14 class CGroundSensorEquippedEntity;
15 class CLEDEquippedEntity;
16 class CLightSensorEquippedEntity;
17 class CProximitySensorEquippedEntity;
18 class CRABEquippedEntity;
21 #include <argos3/core/simulator/entity/composable_entity.h>
22 #include <argos3/plugins/simulator/entities/wheeled_entity.h>
37 const std::string& str_controller_id,
40 Real f_rab_range = 0.8f,
41 size_t un_rab_data_size = 2);
50 return *m_pcControllableEntity;
54 return *m_pcEmbodiedEntity;
58 return *m_pcGroundSensorEquippedEntity;
62 return *m_pcLEDEquippedEntity;
66 return *m_pcLightSensorEquippedEntity;
70 return *m_pcProximitySensorEquippedEntity;
74 return *m_pcRABEquippedEntity;
78 return *m_pcWheeledEntity;
87 void SetLEDPosition();
CRABEquippedEntity & GetRABEquippedEntity()
virtual void Destroy()
Destroys the entity, undoing whatever was done by Init() or by the standalone constructor.
CProximitySensorEquippedEntity & GetProximitySensorEquippedEntity()
The namespace containing all the ARGoS related code.
Basic class for an entity that contains other entities.
CControllableEntity & GetControllableEntity()
This entity is a link to a body in the physics engine.
CLightSensorEquippedEntity & GetLightSensorEquippedEntity()
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
CGroundSensorEquippedEntity & GetGroundSensorEquippedEntity()
virtual std::string GetTypeDescription() const
Returns a string label for this class.
A container of CLEDEntity.
CEmbodiedEntity & GetEmbodiedEntity()
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
virtual void UpdateComponents()
Calls the Update() method on all the components.
CLEDEquippedEntity & GetLEDEquippedEntity()
An entity that contains a pointer to the user-defined controller.
float Real
Collects all ARGoS code.
virtual void Reset()
Resets the state of the entity to whatever it was after Init() or the standalone constructor was call...
CWheeledEntity & GetWheeledEntity()