ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
7 #ifndef GROUND_SENSOR_EQUIPPED_ENTITY_H
8 #define GROUND_SENSOR_EQUIPPED_ENTITY_H
11 class CGroundSensorEquippedEntity;
14 #include <argos3/core/utility/math/vector3.h>
15 #include <argos3/core/simulator/entity/entity.h>
16 #include <argos3/core/simulator/entity/embodied_entity.h>
33 typedef std::vector<SSensor*>
TList;
52 const std::string& str_id);
59 return "ground_sensors";
The namespace containing all the ARGoS related code.
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
It defines the basic type CRadians, used to store an angle value in radians.
Basic class for an entity that contains other entities.
size_t GetNumSensors() const
SSensor::TList & GetSensors()
void AddSensor(const CVector2 &c_offset, ESensorType e_type, SAnchor &s_anchor)
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
SSensor & GetSensor(size_t un_idx)
An anchor related to the body of an entity.
SSensor::TList m_tSensors
The list of sensors.
virtual std::string GetTypeDescription() const
Returns a string label for this class.
SSensor(const CVector2 &c_position, ESensorType e_type, SAnchor &s_anchor)
ESensorType ParseType(const std::string &str_type) const
virtual ~CGroundSensorEquippedEntity()
unsigned int UInt32
32-bit unsigned integer.
std::vector< SSensor * > TList
float Real
Collects all ARGoS code.
void AddSensorRing(const CVector2 &c_center, Real f_radius, const CRadians &c_start_angle, ESensorType e_type, UInt32 un_num_sensors, SAnchor &s_anchor)
CGroundSensorEquippedEntity(CComposableEntity *pc_parent)