8 #include <argos3/core/utility/logging/argos_log.h>
9 #include <argos3/core/simulator/entity/composable_entity.h>
17 m_pcGripperEquippedEntity(nullptr) {}
24 m_pcGripperEquippedEntity->
Enable();
48 "Carlo Pinciroli [ilpincy@gmail.com]",
50 "The Gripper actuator.",
52 "This actuator controls a gripper. For a complete description of its\n"
53 "usage, refer to the ci_gripper_actuator.h file.\n\n"
55 "REQUIRED XML CONFIGURATION\n\n"
58 " <my_controller ...>\n"
62 " <gripper implementation=\"default\" />\n"
70 "OPTIONAL XML CONFIGURATION\n\n"
REGISTER_ACTUATOR(CGripperDefaultActuator, "gripper", "default", "Carlo Pinciroli [ilpincy@gmail.com]", "1.0", "The Gripper actuator.", "This actuator controls a gripper. For a complete description of its\n" "usage, refer to the ci_gripper_actuator.h file.\n\n" "REQUIRED XML CONFIGURATION\n\n" " <controllers>\n" " ...\n" " <my_controller ...>\n" " ...\n" " <actuators>\n" " ...\n" " <gripper implementation=\"default\" />\n" " ...\n" " </actuators>\n" " ...\n" " </my_controller>\n" " ...\n" " </controllers>\n\n" "OPTIONAL XML CONFIGURATION\n\n" "None.\n", "Usable")
The namespace containing all the ARGoS related code.
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.
CGripperDefaultActuator()
virtual void Update()
Updates the state of the entity associated to this actuator.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this actuator.
virtual void Reset()
Resets the actuator to the state it had just after Init().
An entity that stores the state of a robot gripper.
void SetLockState(Real f_lock_state)
Sets the lock state of the gripper.