8 #include <argos3/core/simulator/simulator.h>
9 #include <argos3/plugins/simulator/media/tag_medium.h>
17 m_pcTagEquippedEntity(nullptr) {}
23 m_pcTagEquippedEntity =
59 "Michael Allwright [allsey87@gmail.com]",
63 "This actuator controls the payloads of a group of tags. The idea"
64 "is to represent an LCD screen that displays different tags. For a"
65 "complete description of its usage, refer to the ci_tags_actuator.h"
68 "REQUIRED XML CONFIGURATION\n\n"
72 " <my_controller ...>\n"
76 " <tags implementation=\"default\" />\n"
84 "OPTIONAL XML CONFIGURATION\n\n"
#define THROW_ARGOSEXCEPTION_NESTED(message, nested)
This macro throws an ARGoS exception with the passed message and nesting the passed exception.
The namespace containing all the ARGoS related code.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
REGISTER_ACTUATOR(CFootBotDistanceScannerDefaultActuator, "footbot_distance_scanner", "default", "Carlo Pinciroli [ilpincy@gmail.com]", "1.0", "The foot-bot distance scanner actuator.", "This actuator controls the foot-bot distance scanner. For a complete\n" "description of its usage, refer to the ci_footbot_distance_scanner_actuator\n" "file.\n\n" "REQUIRED XML CONFIGURATION\n\n" " <controllers>\n" " ...\n" " <my_controller ...>\n" " ...\n" " <actuators>\n" " ...\n" " <footbot_distance_scanner implementation=\"default\" />\n" " ...\n" " </actuators>\n" " ...\n" " </my_controller>\n" " ...\n" " </controllers>\n\n" "OPTIONAL XML CONFIGURATION\n\n" "None for the time being.\n", "Usable")
virtual void Init(TConfigurationNode &t_node)
Initializes the actuator from the XML configuration tree.
Basic class for an entity that contains other entities.
CEntity & GetComponent(const std::string &str_component)
Returns the component with the passed string label.
The exception that wraps all errors in ARGoS.
virtual void SetAllPayloads(const std::string &str_payload)
Sets all the tags with the same payload.
virtual void Init(TConfigurationNode &t_tree)
Initializes the actuator from the XML configuration tree.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this actuator.
virtual void Update()
Updates the state of the entity associated to this actuator.
virtual void Reset()
Resets the actuator to the state it had just after Init().
A container of CTagEntity.
SInstance::TVector & GetInstances()
Returns the tags.
void SetTagPayloads(const std::string &str_payload)
Sets the payload of all the tags to the given payload.