argos::CCI_FootBotGripperActuator Class Referenceabstract

#include <ci_footbot_gripper_actuator.h>

Inheritance diagram for argos::CCI_FootBotGripperActuator:
Collaboration diagram for argos::CCI_FootBotGripperActuator:

Public Member Functions

 CCI_FootBotGripperActuator ()
 Class constructor. More...
 
virtual ~CCI_FootBotGripperActuator ()
 Class destructor. More...
 
void SetAperture (const CRadians &c_aperture)
 Sets the gripper aperture. More...
 
virtual void EnableCheckForObjectGrippedRoutine ()=0
 Enables the ASEBA routine that checks for a gripped object each time the gripper is opened. More...
 
virtual void DisableCheckForObjectGrippedRoutine ()=0
 Disables the ASEBA routine that checks for a gripped object each time the gripper is opened. More...
 
void LockPositive ()
 Sets gripper aperture to lock, positive direction. More...
 
void LockNegative ()
 Sets gripper aperture to lock, negative direction. More...
 
void Unlock ()
 Unlock gripper: objects are released. 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 Reset ()
 Resets the actuator to the state it had just after Init(). More...
 
virtual void Destroy ()
 Destroys the actuator. More...
 
- Public Member Functions inherited from argos::CBaseConfigurableResource
virtual ~CBaseConfigurableResource ()
 Class destructor. More...
 

Static Public Attributes

static CRadians UNLOCKED
 
static CRadians LOCKED_POSITIVE
 
static CRadians LOCKED_NEGATIVE
 

Protected Attributes

CRadians m_cAperture
 

Additional Inherited Members

- Public Types inherited from argos::CCI_Actuator
typedef std::map< std::string, CCI_Actuator *, std::less< std::string > > TMap
 

Detailed Description

Definition at line 28 of file ci_footbot_gripper_actuator.h.

Constructor & Destructor Documentation

◆ CCI_FootBotGripperActuator()

argos::CCI_FootBotGripperActuator::CCI_FootBotGripperActuator ( )

Class constructor.

Definition at line 72 of file ci_footbot_gripper_actuator.cpp.

◆ ~CCI_FootBotGripperActuator()

virtual argos::CCI_FootBotGripperActuator::~CCI_FootBotGripperActuator ( )
inlinevirtual

Class destructor.

Definition at line 47 of file ci_footbot_gripper_actuator.h.

Member Function Documentation

◆ DisableCheckForObjectGrippedRoutine()

virtual void argos::CCI_FootBotGripperActuator::DisableCheckForObjectGrippedRoutine ( )
pure virtual

Disables the ASEBA routine that checks for a gripped object each time the gripper is opened.

Implemented in argos::CFootBotGripperDefaultActuator.

◆ EnableCheckForObjectGrippedRoutine()

virtual void argos::CCI_FootBotGripperActuator::EnableCheckForObjectGrippedRoutine ( )
pure virtual

Enables the ASEBA routine that checks for a gripped object each time the gripper is opened.

Implemented in argos::CFootBotGripperDefaultActuator.

◆ LockNegative()

void argos::CCI_FootBotGripperActuator::LockNegative ( )

Sets gripper aperture to lock, negative direction.

Definition at line 94 of file ci_footbot_gripper_actuator.cpp.

◆ LockPositive()

void argos::CCI_FootBotGripperActuator::LockPositive ( )

Sets gripper aperture to lock, positive direction.

Definition at line 87 of file ci_footbot_gripper_actuator.cpp.

◆ SetAperture()

void argos::CCI_FootBotGripperActuator::SetAperture ( const CRadians c_aperture)

Sets the gripper aperture.

Parameters
c_apertureThe desired aperture.

Definition at line 78 of file ci_footbot_gripper_actuator.cpp.

◆ Unlock()

void argos::CCI_FootBotGripperActuator::Unlock ( )

Unlock gripper: objects are released.

Definition at line 101 of file ci_footbot_gripper_actuator.cpp.

Member Data Documentation

◆ LOCKED_NEGATIVE

CRadians argos::CCI_FootBotGripperActuator::LOCKED_NEGATIVE
static

Definition at line 35 of file ci_footbot_gripper_actuator.h.

◆ LOCKED_POSITIVE

CRadians argos::CCI_FootBotGripperActuator::LOCKED_POSITIVE
static

Definition at line 34 of file ci_footbot_gripper_actuator.h.

◆ m_cAperture

CRadians argos::CCI_FootBotGripperActuator::m_cAperture
protected

Definition at line 86 of file ci_footbot_gripper_actuator.h.

◆ UNLOCKED

CRadians argos::CCI_FootBotGripperActuator::UNLOCKED
static

Definition at line 33 of file ci_footbot_gripper_actuator.h.