The basic interface for a simulated actuator. More...
#include <actuator.h>
Public Member Functions | |
virtual | ~CSimulatedActuator () |
Class destructor. More... | |
virtual void | SetRobot (CComposableEntity &c_entity)=0 |
Sets the entity associated to this actuator. More... | |
virtual void | Update ()=0 |
Updates the state of the entity associated to this actuator. More... | |
The basic interface for a simulated actuator.
To implement the simulated model of an actuator, you must define a class that inherits from both the control interface and this class.
Definition at line 24 of file actuator.h.
|
inlinevirtual |
Class destructor.
Definition at line 31 of file actuator.h.
|
pure virtual |
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.
c_entity | The entity to associate to this actuator. |
Implemented in argos::CPrototypeJointsDefaultActuator, argos::CMiniQuadrotorRotorDefaultActuator, argos::CTagsDefaultActuator, argos::CRangeAndBearingDefaultActuator, argos::CRadiosDefaultActuator, argos::CQuadRotorSpeedDefaultActuator, argos::CQuadRotorPositionDefaultActuator, argos::CMagnetsDefaultActuator, argos::CLEDsDefaultActuator, argos::CGripperDefaultActuator, argos::CDirectionalLEDsDefaultActuator, argos::CDifferentialSteeringDefaultActuator, argos::CFootBotTurretDefaultActuator, argos::CFootBotGripperDefaultActuator, and argos::CFootBotDistanceScannerDefaultActuator.
|
pure virtual |
Updates the state of the entity associated to this actuator.
Implemented in argos::CPrototypeJointsDefaultActuator, argos::CMiniQuadrotorRotorDefaultActuator, argos::CTagsDefaultActuator, argos::CRangeAndBearingDefaultActuator, argos::CRadiosDefaultActuator, argos::CQuadRotorSpeedDefaultActuator, argos::CQuadRotorPositionDefaultActuator, argos::CMagnetsDefaultActuator, argos::CLEDsDefaultActuator, argos::CGripperDefaultActuator, argos::CDirectionalLEDsDefaultActuator, argos::CDifferentialSteeringDefaultActuator, argos::CFootBotTurretDefaultActuator, argos::CFootBotGripperDefaultActuator, and argos::CFootBotDistanceScannerDefaultActuator.