11 class CControllableEntity;
12 class CEmbodiedEntity;
14 class CQuadRotorEntity;
15 class CRABEquippedEntity;
16 class CPerspectiveCameraEquippedEntity;
17 class CBatteryEquippedEntity;
20 #include <argos3/core/simulator/entity/composable_entity.h>
35 const std::string& str_controller_id,
38 Real f_rab_range = 3.0f,
39 size_t un_rab_data_size = 10,
40 const std::string& str_bat_model =
"",
42 Real f_cam_range = 10.0f);
48 return *m_pcControllableEntity;
52 return *m_pcEmbodiedEntity;
56 return *m_pcQuadRotorEntity;
60 return *m_pcRABEquippedEntity;
64 return *m_pcPerspectiveCameraEquippedEntity;
68 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.
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
CRABEquippedEntity & GetRABEquippedEntity()
CQuadRotorEntity & GetQuadRotorEntity()
CPerspectiveCameraEquippedEntity & GetPerspectiveCameraEquippedEntity()
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...
CBatteryEquippedEntity & GetBatterySensorEquippedEntity()
CEmbodiedEntity & GetEmbodiedEntity()
CControllableEntity & GetControllableEntity()