ARGoS  3
A parallel, multi-engine simulator for swarm robotics
argos::CFootBotDistanceScannerDefaultActuator Class Reference

#include <footbot_distance_scanner_default_actuator.h>

+ Inheritance diagram for argos::CFootBotDistanceScannerDefaultActuator:

List of all members.

Public Member Functions

 CFootBotDistanceScannerDefaultActuator ()
virtual ~CFootBotDistanceScannerDefaultActuator ()
virtual void SetRobot (CComposableEntity &c_entity)
 Sets the entity associated to this actuator.
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 SetRPM (Real f_rpm)
 Sets the distance scanner speed The distance scanner can be controller in position or in speed.
virtual void Enable ()
 Enables the distance scanner.
virtual void Disable ()
 Disables the distance scanner.
virtual void Update ()
 Updates the state of the entity associated to this actuator.
virtual void Reset ()
 Resets the actuator to the state it had just after Init().

Static Public Attributes

static const Real RPM_TO_RADIANS_PER_SEC = ARGOS_PI / 30.0f

Detailed Description

Definition at line 24 of file footbot_distance_scanner_default_actuator.h.


Constructor & Destructor Documentation


Member Function Documentation

Disables the distance scanner.

Implements argos::CCI_FootBotDistanceScannerActuator.

Definition at line 55 of file footbot_distance_scanner_default_actuator.cpp.

Enables the distance scanner.

Implements argos::CCI_FootBotDistanceScannerActuator.

Definition at line 48 of file footbot_distance_scanner_default_actuator.cpp.

Resets the actuator to the state it had just after Init().

The default implementation of this method does nothing.

See also:
Init()
Destroy()

Reimplemented from argos::CCI_Actuator.

Definition at line 75 of file footbot_distance_scanner_default_actuator.cpp.

Sets the distance scanner angle The distance scanner can be controller in position or in speed.

This method allows you to set the desired angle of the ds

Parameters:
c_angledesired distance scanner angle - radians

Implements argos::CCI_FootBotDistanceScannerActuator.

Definition at line 32 of file footbot_distance_scanner_default_actuator.cpp.

Sets the entity associated to this actuator.

When a controller is created, all the sensors and actuators are created, too. This function is called right before the Init() method of the actuator is called.

Parameters:
c_entityThe entity to associate to this actuator.
See also:
CComposableEntity
CControllableEntity::SetController()
CCI_Actuator::Init()

Implements argos::CSimulatedActuator.

Definition at line 23 of file footbot_distance_scanner_default_actuator.cpp.

Sets the distance scanner speed The distance scanner can be controller in position or in speed.

This method allows you to set the desired speed of the ds The speed is set in rounds per minutes, an OK value is 30rpm

Parameters:
c_angledesired distance scanner speed - rounds per minutes

Implements argos::CCI_FootBotDistanceScannerActuator.

Definition at line 40 of file footbot_distance_scanner_default_actuator.cpp.

Updates the state of the entity associated to this actuator.

Implements argos::CSimulatedActuator.

Definition at line 62 of file footbot_distance_scanner_default_actuator.cpp.


Member Data Documentation


The documentation for this class was generated from the following files: