8 #include <argos3/core/simulator/entity/composable_entity.h>
9 #include <argos3/core/simulator/simulator.h>
18 m_pcRangeAndBearingEquippedEntity->
Enable();
40 "range_and_bearing",
"default",
41 "Carlo Pinciroli [ilpincy@gmail.com]",
43 "The range and bearing actuator.",
45 "This actuator allows robots to perform situated communication, i.e., a form of\n"
46 "wireless communication whereby the receiver also knows the location of the\n"
47 "sender with respect to its own frame of reference.\n"
48 "This actuator allows a robot to send messages. To receive messages, you need\n"
49 "the range-and-bearing sensor.\n"
50 "To use this actuator, in controllers you must include the\n"
51 "ci_range_and_bearing_actuator.h header.\n\n"
53 "REQUIRED XML CONFIGURATION\n\n"
57 " <my_controller ...>\n"
61 " <range_and_bearing implementation=\"default\" />\n"
69 "OPTIONAL XML CONFIGURATION\n\n"
The namespace containing all the ARGoS related code.
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")
Basic class for an entity that contains other entities.
CEntity & GetComponent(const std::string &str_component)
Returns the component with the passed string label.
void Enable()
Enables the entity.
void Zero()
Sets the contents of the byte array to all zeros.
void Resize(size_t un_size, UInt8 un_value=0)
Resizes the byte array to the wanted size.
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().
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this actuator.
void SetData(const CByteArray &c_data)
size_t GetMsgSize() const