ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
#include <footbot_entity.h>
Definition at line 31 of file footbot_entity.h.
Definition at line 57 of file footbot_entity.cpp.
argos::CFootBotEntity::CFootBotEntity | ( | const std::string & | str_id, |
const std::string & | str_controller_id, | ||
const CVector3 & | c_position = CVector3() , |
||
const CQuaternion & | c_orientation = CQuaternion() , |
||
Real | f_rab_range = 3.0f , |
||
const CRadians & | c_aperture = ToRadians(CDegrees(70.0f)) |
||
) |
Definition at line 76 of file footbot_entity.cpp.
void argos::CFootBotEntity::Destroy | ( | ) | [virtual] |
Destroys the entity, undoing whatever was done by Init() or by the standalone constructor.
The default implementation of this method does nothing.
Reimplemented from argos::CEntity.
Definition at line 359 of file footbot_entity.cpp.
Reimplemented from argos::CComposableEntity.
Definition at line 54 of file footbot_entity.h.
CFootBotDistanceScannerEquippedEntity& argos::CFootBotEntity::GetDistanceScannerEquippedEntity | ( | ) | [inline] |
Definition at line 58 of file footbot_entity.h.
CEmbodiedEntity& argos::CFootBotEntity::GetEmbodiedEntity | ( | ) | [inline] |
Definition at line 66 of file footbot_entity.h.
Definition at line 70 of file footbot_entity.h.
Definition at line 74 of file footbot_entity.h.
Definition at line 78 of file footbot_entity.h.
Definition at line 82 of file footbot_entity.h.
COmnidirectionalCameraEquippedEntity& argos::CFootBotEntity::GetOmnidirectionalCameraEquippedEntity | ( | ) | [inline] |
Definition at line 86 of file footbot_entity.h.
CProximitySensorEquippedEntity& argos::CFootBotEntity::GetProximitySensorEquippedEntity | ( | ) | [inline] |
Definition at line 90 of file footbot_entity.h.
Definition at line 94 of file footbot_entity.h.
CFootBotTurretEntity& argos::CFootBotEntity::GetTurretEntity | ( | ) | [inline] |
Definition at line 62 of file footbot_entity.h.
virtual std::string argos::CFootBotEntity::GetTypeDescription | ( | ) | const [inline, virtual] |
Returns a string label for this class.
Reimplemented from argos::CComposableEntity.
Definition at line 106 of file footbot_entity.h.
CWheeledEntity& argos::CFootBotEntity::GetWheeledEntity | ( | ) | [inline] |
Definition at line 98 of file footbot_entity.h.
Definition at line 102 of file footbot_entity.h.
void argos::CFootBotEntity::Init | ( | TConfigurationNode & | t_tree | ) | [virtual] |
Initializes the state of the entity from the XML configuration tree.
If the id of the entity has not been set yet, this method sets an id for the entity. If the entity has no parent, this method parses the passed XML tree and looks for the id
attribute, setting its value as id. If, instead, this entity has a parent, the id is set as GetParent().GetId() + "." + GetTypeDescription()
.
CARGoSException | if a parse error occurred |
Reimplemented from argos::CEntity.
Definition at line 218 of file footbot_entity.cpp.
void argos::CFootBotEntity::Reset | ( | ) | [virtual] |
Resets the state of the entity to whatever it was after Init() or the standalone constructor was called.
Internally calls Reset() for all the component entities.
Reimplemented from argos::CComposableEntity.
Definition at line 349 of file footbot_entity.cpp.
void argos::CFootBotEntity::UpdateComponents | ( | ) | [virtual] |
Calls the Update() method on all the components.
Reimplemented from argos::CComposableEntity.
Definition at line 368 of file footbot_entity.cpp.