ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
17 m_fDesiredRotationSpeed(0.0f),
25 m_pcDistanceScannerEquippedEntity->
Enable();
33 m_cDesiredRotation = c_angle;
62 m_pcDistanceScannerEquippedEntity->
SetMode(m_unDesiredMode);
64 m_pcDistanceScannerEquippedEntity->
SetRotation(m_cDesiredRotation);
67 m_pcDistanceScannerEquippedEntity->
SetRotationSpeed(m_fDesiredRotationSpeed);
76 m_fDesiredRotationSpeed = 0.0f;
84 "footbot_distance_scanner",
"default",
85 "Carlo Pinciroli [ilpincy@gmail.com]",
87 "The foot-bot distance scanner actuator.",
88 "This actuator controls the foot-bot distance scanner. For a complete\n"
89 "description of its usage, refer to the ci_footbot_distance_scanner_actuator\n"
91 "REQUIRED XML CONFIGURATION\n\n"
94 " <my_controller ...>\n"
98 " <footbot_distance_scanner implementation=\"default\" />\n"
102 " </my_controller>\n"
104 " </controllers>\n\n"
105 "OPTIONAL XML CONFIGURATION\n\n"
106 "None for the time being.\n",
#define ARGOS_PI
To be used when initializing static variables.
The namespace containing all the ARGoS related code.
virtual void SetRPM(Real f_rpm)
Sets the distance scanner speed The distance scanner can be controller in position or in speed.
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.
virtual void SetAngle(const CRadians &c_angle)
Sets the distance scanner angle The distance scanner can be controller in position or in speed.
virtual void Enable()
Enables the distance scanner.
void Enable()
Enables the entity.
void SetMode(UInt32 un_mode)
void SetRotation(const CRadians &c_rotation)
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")
void SetRotationSpeed(Real f_speed)
CFootBotDistanceScannerDefaultActuator()
virtual void Update()
Updates the state of the entity associated to this actuator.
virtual void Disable()
Disables the distance scanner.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this actuator.
float Real
Collects all ARGoS code.
virtual void Reset()
Resets the actuator to the state it had just after Init().
static const Real RPM_TO_RADIANS_PER_SEC
static const CRadians ZERO
Set to zero radians.