ARGoS
Large-scale robot simulations
home
about
download
documentation
examples
user manual
dev manual
API
forum
publications
plugins
robots
generic
control_interface
ci_gripper_actuator.h
Go to the documentation of this file.
1
7
#ifndef CCI_GRIPPER_ACTUATOR_H
8
#define CCI_GRIPPER_ACTUATOR_H
9
10
namespace
argos
{
11
class
CCI_GripperActuator;
12
}
13
14
#include <argos3/core/control_interface/ci_actuator.h>
15
16
namespace
argos
{
17
18
class
CCI_GripperActuator
:
public
CCI_Actuator
{
19
20
public
:
21
25
CCI_GripperActuator
();
26
30
virtual
~CCI_GripperActuator
() {}
31
38
void
SetLockState
(
Real
f_lock_state);
39
45
void
Lock
();
46
52
void
Unlock
();
53
54
#ifdef ARGOS_WITH_LUA
55
virtual
void
CreateLuaState(lua_State* pt_lua_state);
56
#endif
57
58
protected
:
59
60
Real
m_fLockState
;
61
62
};
63
64
}
65
66
#endif
Real
float Real
Collects all ARGoS code.
Definition:
datatypes.h:39
argos
The namespace containing all the ARGoS related code.
Definition:
ci_actuator.h:12
argos::CCI_Actuator
The basic interface for all actuators.
Definition:
ci_actuator.h:34
argos::CCI_GripperActuator
Definition:
ci_gripper_actuator.h:18
argos::CCI_GripperActuator::SetLockState
void SetLockState(Real f_lock_state)
Sets the gripper lock state.
Definition:
ci_gripper_actuator.cpp:61
argos::CCI_GripperActuator::Lock
void Lock()
Locks the gripper.
Definition:
ci_gripper_actuator.cpp:69
argos::CCI_GripperActuator::CCI_GripperActuator
CCI_GripperActuator()
Class constructor.
Definition:
ci_gripper_actuator.cpp:55
argos::CCI_GripperActuator::Unlock
void Unlock()
Unlocks the gripper.
Definition:
ci_gripper_actuator.cpp:76
argos::CCI_GripperActuator::~CCI_GripperActuator
virtual ~CCI_GripperActuator()
Class destructor.
Definition:
ci_gripper_actuator.h:30
argos::CCI_GripperActuator::m_fLockState
Real m_fLockState
Definition:
ci_gripper_actuator.h:60