ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
#include <ci_gripper_actuator.h>
Public Member Functions | |
CCI_GripperActuator () | |
Class constructor. | |
virtual | ~CCI_GripperActuator () |
Class destructor. | |
void | SetLockState (Real f_lock_state) |
Sets the gripper lock state. | |
void | Lock () |
Locks the gripper. | |
void | Unlock () |
Unlocks the gripper. | |
Protected Attributes | |
Real | m_fLockState |
Definition at line 18 of file ci_gripper_actuator.h.
Class constructor.
Definition at line 55 of file ci_gripper_actuator.cpp.
virtual argos::CCI_GripperActuator::~CCI_GripperActuator | ( | ) | [inline, virtual] |
Class destructor.
Definition at line 30 of file ci_gripper_actuator.h.
void argos::CCI_GripperActuator::Lock | ( | ) | [inline] |
Locks the gripper.
This corresponds to calling SetLockState(1.0f).
Definition at line 45 of file ci_gripper_actuator.h.
void argos::CCI_GripperActuator::SetLockState | ( | Real | f_lock_state | ) |
Sets the gripper lock state.
The lock state is a value between 0 and 1, where 0 means unlocked, and 1 means locked.
f_lock_state | The desired lock state. |
Definition at line 61 of file ci_gripper_actuator.cpp.
void argos::CCI_GripperActuator::Unlock | ( | ) | [inline] |
Unlocks the gripper.
This corresponds to calling SetLockState(0.0f).
Definition at line 54 of file ci_gripper_actuator.h.
Real argos::CCI_GripperActuator::m_fLockState [protected] |
Definition at line 64 of file ci_gripper_actuator.h.