ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
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;
22 #include <argos3/core/simulator/entity/composable_entity.h>
37 const std::string& str_controller_id,
40 Real f_rab_range = 3.0f,
41 size_t un_rab_data_size = 10,
43 Real f_perspcam_focal_length = 0.035,
44 Real f_perspcam_range = 2.0);
52 return *m_pcControllableEntity;
56 return *m_pcEmbodiedEntity;
60 return *m_pcLEDEquippedEntity;
64 return *m_pcLightSensorEquippedEntity;
68 return *m_pcProximitySensorEquippedEntity;
72 return *m_pcQuadRotorEntity;
76 return *m_pcRABEquippedEntity;
CEmbodiedEntity & GetEmbodiedEntity()
CQuadRotorEntity & GetQuadRotorEntity()
The namespace containing all the ARGoS related code.
CProximitySensorEquippedEntity & GetProximitySensorEquippedEntity()
It defines the basic type CRadians, used to store an angle value in radians.
Basic class for an entity that contains other entities.
CLEDEquippedEntity & GetLEDEquippedEntity()
This entity is a link to a body in the physics engine.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
virtual void Reset()
Resets the state of the entity to whatever it was after Init() or the standalone constructor was call...
A container of CLEDEntity.
CControllableEntity & GetControllableEntity()
virtual void UpdateComponents()
Calls the Update() method on all the components.
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
CRABEquippedEntity & GetRABEquippedEntity()
virtual std::string GetTypeDescription() const
Returns a string label for this class.
CLightSensorEquippedEntity & GetLightSensorEquippedEntity()
It defines the basic type CDegrees, used to store an angle value in degrees.
An entity that contains a pointer to the user-defined controller.
CRadians ToRadians(const CDegrees &c_degrees)
Converts CDegrees to CRadians.
float Real
Collects all ARGoS code.