ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
17 m_pcTurretEntity(NULL),
25 m_pcTurretEntity->
Enable();
46 m_unDesiredMode = e_mode;
53 m_pcTurretEntity->
SetMode(m_unDesiredMode);
67 "footbot_turret",
"default",
68 "Carlo Pinciroli [ilpincy@gmail.com]",
70 "The foot-bot turret actuator.",
71 "This actuator controls the foot-bot turret. For a complete\n"
72 "description of its usage, refer to the ci_footbot_turret_actuator\n"
74 "REQUIRED XML CONFIGURATION\n\n"
77 " <my_controller ...>\n"
81 " <footbot_turret implementation=\"default\" />\n"
88 "OPTIONAL XML CONFIGURATION\n\n"
89 "None for the time being.\n",
#define ARGOS_PI
To be used when initializing static variables.
void SetMode(UInt32 un_mode)
ETurretModes
Turret modes.
virtual void Update()
Updates the state of the entity associated to this actuator.
The namespace containing all the ARGoS related code.
void SetDesiredRotation(const CRadians &c_rotation)
It defines the basic type CRadians, used to store an angle value in radians.
Basic class for an entity that contains other entities.
CEntity & GetComponent(const std::string &str_component)
Returns the component with the passed string label.
const Real RPM_TO_RADIANS_PER_SEC
void SetDesiredRotationSpeed(Real f_speed)
void Enable()
Enables the entity.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this actuator.
CFootBotTurretDefaultActuator()
virtual void SetMode(ETurretModes e_mode)
Sets the turret control mode Modes are: angular position control, rotation speed control,...
REGISTER_ACTUATOR(CFootBotDistanceScannerDefaultActuator, "footbot_distance_scanner", "default", "Carlo Pinciroli [ilpincy@gmail.com]", "1.0", "The foot-bot distance scanner actuator.", "This actuator controls the foot-bot distance scanner. For a complete\n" "description of its usage, refer to the ci_footbot_distance_scanner_actuator\n" "file.\n\n" "REQUIRED XML CONFIGURATION\n\n" " <controllers>\n" " ...\n" " <my_controller ...>\n" " ...\n" " <actuators>\n" " ...\n" " <footbot_distance_scanner implementation=\"default\" />\n" " ...\n" " </actuators>\n" " ...\n" " </my_controller>\n" " ...\n" " </controllers>\n\n" "OPTIONAL XML CONFIGURATION\n\n" "None for the time being.\n", "Usable")
virtual void SetRotation(const CRadians &c_angle)
Sets the turret rotation Turret rotation is expressed in radians, positive values rotate the turret c...
virtual void Reset()
Resets the actuator to the state it had just after Init().
virtual void SetRotationSpeed(SInt32 n_speed_pulses)
Sets the turret rotation speed Turret rotation speed is expressed in motor pulses,...
signed int SInt32
32-bit signed integer.
float Real
Collects all ARGoS code.