Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a00150.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a00150.php on line 2
The ARGoS Website

argos::CGripperDefaultActuator Class Reference

#include <gripper_default_actuator.h>

Inheritance diagram for argos::CGripperDefaultActuator:
Collaboration diagram for argos::CGripperDefaultActuator:

Public Member Functions

 CGripperDefaultActuator ()
 
virtual ~CGripperDefaultActuator ()
 
virtual void SetRobot (CComposableEntity &c_entity)
 Sets the entity associated to this actuator. More...
 
virtual void Update ()
 Updates the state of the entity associated to this actuator. More...
 
virtual void Reset ()
 Resets the actuator to the state it had just after Init(). More...
 
- Public Member Functions inherited from argos::CSimulatedActuator
virtual ~CSimulatedActuator ()
 Class destructor. More...
 
- Public Member Functions inherited from argos::CCI_GripperActuator
 CCI_GripperActuator ()
 Class constructor. More...
 
virtual ~CCI_GripperActuator ()
 Class destructor. More...
 
void SetLockState (Real f_lock_state)
 Sets the gripper lock state. More...
 
void Lock ()
 Locks the gripper. More...
 
void Unlock ()
 Unlocks the gripper. More...
 
- Public Member Functions inherited from argos::CCI_Actuator
virtual ~CCI_Actuator ()
 Class destructor. More...
 
virtual void Init (TConfigurationNode &t_node)
 Initializes the actuator from the XML configuration tree. More...
 
virtual void Destroy ()
 Destroys the actuator. More...
 
- Public Member Functions inherited from argos::CBaseConfigurableResource
virtual ~CBaseConfigurableResource ()
 Class destructor. More...
 

Additional Inherited Members

- Public Types inherited from argos::CCI_Actuator
typedef std::map< std::string, CCI_Actuator *, std::less< std::string > > TMap
 
- Protected Attributes inherited from argos::CCI_GripperActuator
Real m_fLockState
 

Detailed Description

Definition at line 23 of file gripper_default_actuator.h.

Constructor & Destructor Documentation

argos::CGripperDefaultActuator::CGripperDefaultActuator ( )

Definition at line 16 of file gripper_default_actuator.cpp.

virtual argos::CGripperDefaultActuator::~CGripperDefaultActuator ( )
inlinevirtual

Definition at line 30 of file gripper_default_actuator.h.

Member Function Documentation

void argos::CGripperDefaultActuator::Reset ( )
virtual

Resets the actuator to the state it had just after Init().

The default implementation of this method does nothing.

See also
Init()
Destroy()

Reimplemented from argos::CCI_Actuator.

Definition at line 37 of file gripper_default_actuator.cpp.

void argos::CGripperDefaultActuator::SetRobot ( CComposableEntity c_entity)
virtual

Sets the entity associated to this actuator.

When a controller is created, all the sensors and actuators are created, too. This function is called right before the Init() method of the actuator is called.

Parameters
c_entityThe entity to associate to this actuator.
See also
CComposableEntity
CControllableEntity::SetController()
CCI_Actuator::Init()

Implements argos::CSimulatedActuator.

Definition at line 22 of file gripper_default_actuator.cpp.

void argos::CGripperDefaultActuator::Update ( )
virtual

Updates the state of the entity associated to this actuator.

Implements argos::CSimulatedActuator.

Definition at line 30 of file gripper_default_actuator.cpp.