ARGoS
3
A parallel, multi-engine simulator for swarm robotics
ci_differential_steering_actuator.h
Go to the documentation of this file.
1
7
#ifndef CCI_DIFFERENTIAL_STEERING_ACTUATOR_H
8
#define CCI_DIFFERENTIAL_STEERING_ACTUATOR_H
9
10
/* To avoid dependency problems when including */
11
namespace
argos
{
12
class
CCI_DifferentialSteeringActuator;
13
}
14
15
#include <argos3/core/control_interface/ci_actuator.h>
16
17
namespace
argos
{
18
19
class
CCI_DifferentialSteeringActuator
:
public
CCI_Actuator
{
20
21
public
:
22
23
virtual
~CCI_DifferentialSteeringActuator
() {}
24
25
virtual
void
SetLinearVelocity
(
Real
f_left_velocity,
26
Real
f_right_velocity) = 0;
27
28
#ifdef ARGOS_WITH_LUA
29
virtual
void
CreateLuaState
(lua_State* pt_lua_state);
30
#endif
31
32
protected
:
33
34
Real
m_fCurrentVelocity
[2];
35
36
};
37
38
}
39
40
#endif
argos
The namespace containing all the ARGoS related code.
Definition:
ci_actuator.h:12
argos::CCI_Actuator::CreateLuaState
virtual void CreateLuaState(lua_State *pt_lua_state)=0
Creates the Lua state for this actuator.
argos::CCI_DifferentialSteeringActuator::SetLinearVelocity
virtual void SetLinearVelocity(Real f_left_velocity, Real f_right_velocity)=0
argos::CCI_Actuator
The basic interface for all actuators.
Definition:
ci_actuator.h:34
argos::CCI_DifferentialSteeringActuator::~CCI_DifferentialSteeringActuator
virtual ~CCI_DifferentialSteeringActuator()
Definition:
ci_differential_steering_actuator.h:23
argos::CCI_DifferentialSteeringActuator::m_fCurrentVelocity
Real m_fCurrentVelocity[2]
Definition:
ci_differential_steering_actuator.h:34
argos::CCI_DifferentialSteeringActuator
Definition:
ci_differential_steering_actuator.h:19
Real
float Real
Collects all ARGoS code.
Definition:
datatypes.h:39
plugins
robots
generic
control_interface
ci_differential_steering_actuator.h
Generated on Wed Aug 4 2021 00:15:55 for ARGoS by
1.8.17