ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
7 #ifndef FOOTBOT_ENTITY_H
8 #define FOOTBOT_ENTITY_H
11 class CControllableEntity;
12 class CFootBotDistanceScannerEquippedEntity;
13 class CEmbodiedEntity;
15 class CFootBotTurretEntity;
16 class CGripperEquippedEntity;
17 class CGroundSensorEquippedEntity;
18 class CLEDEquippedEntity;
19 class CLightSensorEquippedEntity;
20 class COmnidirectionalCameraEquippedEntity;
21 class CPerspectiveCameraEquippedEntity;
22 class CProximitySensorEquippedEntity;
23 class CRABEquippedEntity;
24 class CWiFiEquippedEntity;
27 #include <argos3/core/simulator/entity/composable_entity.h>
28 #include <argos3/plugins/simulator/entities/wheeled_entity.h>
43 const std::string& str_controller_id,
46 Real f_rab_range = 3.0f,
47 size_t un_rab_data_size = 10,
49 bool b_perspcam_front =
true,
51 Real f_perspcam_focal_length = 0.035,
52 Real f_perspcam_range = 2.0);
59 return *m_pcControllableEntity;
63 return *m_pcDistanceScannerEquippedEntity;
67 return *m_pcTurretEntity;
71 return *m_pcEmbodiedEntity;
75 return *m_pcGripperEquippedEntity;
79 return *m_pcGroundSensorEquippedEntity;
83 return *m_pcLEDEquippedEntity;
87 return *m_pcLightSensorEquippedEntity;
91 return *m_pcOmnidirectionalCameraEquippedEntity;
95 return *m_pcPerspectiveCameraEquippedEntity;
99 return *m_pcProximitySensorEquippedEntity;
103 return *m_pcRABEquippedEntity;
107 return *m_pcWheeledEntity;
111 return *m_pcWiFiEquippedEntity;
CGripperEquippedEntity & GetGripperEquippedEntity()
virtual void UpdateComponents()
Calls the Update() method on all the components.
The namespace containing all the ARGoS related code.
CFootBotTurretEntity & GetTurretEntity()
CLEDEquippedEntity & GetLEDEquippedEntity()
It defines the basic type CRadians, used to store an angle value in radians.
Basic class for an entity that contains other entities.
This entity is a link to a body in the physics engine.
CLightSensorEquippedEntity & GetLightSensorEquippedEntity()
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
An entity that stores the state of a robot gripper.
A container of CLEDEntity.
CRABEquippedEntity & GetRABEquippedEntity()
CProximitySensorEquippedEntity & GetProximitySensorEquippedEntity()
COmnidirectionalCameraEquippedEntity & GetOmnidirectionalCameraEquippedEntity()
CGroundSensorEquippedEntity & GetGroundSensorEquippedEntity()
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
virtual void Reset()
Resets the state of the entity to whatever it was after Init() or the standalone constructor was call...
CWiFiEquippedEntity & GetWiFiEquippedEntity()
CControllableEntity & GetControllableEntity()
CEmbodiedEntity & GetEmbodiedEntity()
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.
virtual std::string GetTypeDescription() const
Returns a string label for this class.
CPerspectiveCameraEquippedEntity & GetPerspectiveCameraEquippedEntity()
CRadians ToRadians(const CDegrees &c_degrees)
Converts CDegrees to CRadians.
float Real
Collects all ARGoS code.
CWheeledEntity & GetWheeledEntity()
CFootBotDistanceScannerEquippedEntity & GetDistanceScannerEquippedEntity()