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;
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()
CQuadRotorEntity & GetQuadRotorEntity()
float Real
Collects all ARGoS code.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
This entity is a link to a body in the physics engine.
It defines the basic type CDegrees, used to store an angle value in degrees.
It defines the basic type CRadians, used to store an angle value in radians.
CBatteryEquippedEntity & GetBatterySensorEquippedEntity()
Basic class for an entity that contains other entities.
CEmbodiedEntity & GetEmbodiedEntity()
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
CControllableEntity & GetControllableEntity()
CRadians ToRadians(const CDegrees &c_degrees)
Converts CDegrees to CRadians.
CPerspectiveCameraEquippedEntity & GetPerspectiveCameraEquippedEntity()
The namespace containing all the ARGoS related code.
virtual std::string GetTypeDescription() const
Returns a string label for this class.