43 #ifndef CCI_FOOTBOT_TURRET_ACTUATOR_H 44 #define CCI_FOOTBOT_TURRET_ACTUATOR_H 47 class CCI_FootBotTurretActuator;
50 #include <argos3/core/control_interface/ci_actuator.h> 51 #include <argos3/core/utility/math/angles.h> 138 #ifdef ARGOS_WITH_LUA 139 virtual void CreateLuaState(lua_State* pt_lua_state);
void SetPositionControlMode()
Sets the turret control mode to position control.
void SetSpeedControlMode()
Sets the turret control mode to speed control.
The basic interface for all actuators.
ETurretModes
Turret modes.
static const CRange< Real > NORMALIZED_SPEED_RANGE
virtual ~CCI_FootBotTurretActuator()
Destructor.
virtual void SetRotation(const CRadians &c_angle)=0
Sets the turret rotation Turret rotation is expressed in radians, positive values rotate the turret c...
virtual void SetRotationSpeed(SInt32 n_speed_pulses)=0
Sets the turret rotation speed Turret rotation speed is expressed in motor pulses, positive values rotate the turret clockwise when looking from above.
virtual void SetMode(ETurretModes e_mode)=0
Sets the turret control mode Modes are: angular position control, rotation speed control, passive mode, off.
void SetPassiveMode()
Sets the turret control mode to passive.
It defines the basic type CRadians, used to store an angle value in radians.
The namespace containing all the ARGoS related code.
signed int SInt32
32-bit signed integer.
static const CRange< SInt32 > SPEED_RANGE
void SetActiveWithRotation(const CRadians &c_angle)
Sets the turret control mode to active, and sets the target rotation to the given one...