#include <miniquadrotor_rotor_default_actuator.h>
Public Types | |
enum | MINIQUADROTOR_ROTOR { NORTH_ROTOR = 0 , WEST_ROTOR , SOUTH_ROTOR , EAST_ROTOR } |
Public Types inherited from argos::CCI_Actuator | |
typedef std::map< std::string, CCI_Actuator *, std::less< std::string > > | TMap |
Public Member Functions | |
CMiniQuadrotorRotorDefaultActuator () | |
virtual | ~CMiniQuadrotorRotorDefaultActuator () |
virtual void | SetRobot (CComposableEntity &c_entity) |
Sets the entity associated to this actuator. More... | |
virtual void | Init (TConfigurationNode &t_tree) |
Initializes the actuator from the XML configuration tree. More... | |
virtual void | SetRotorVelocities (const CCI_MiniQuadrotorRotorActuator::SVelocities &s_velocities) |
virtual void | Update () |
Updates the state of the entity associated to this actuator. More... | |
virtual void | Reset () |
Resets the actuator to the state it had just after Init(). More... | |
Public Member Functions inherited from argos::CSimulatedActuator | |
virtual | ~CSimulatedActuator () |
Class destructor. More... | |
Public Member Functions inherited from argos::CCI_MiniQuadrotorRotorActuator | |
virtual | ~CCI_MiniQuadrotorRotorActuator () |
Public Member Functions inherited from argos::CCI_Actuator | |
virtual | ~CCI_Actuator () |
Class destructor. More... | |
virtual void | Destroy () |
Destroys the actuator. More... | |
Public Member Functions inherited from argos::CBaseConfigurableResource | |
virtual | ~CBaseConfigurableResource () |
Class destructor. More... | |
Protected Member Functions | |
virtual void | AddGaussianNoise () |
Adds noise to the rotor velocity. More... | |
Protected Attributes | |
CRotorEquippedEntity * | m_pcRotorEquippedEntity |
The rotor equipped entity. More... | |
CRandom::CRNG * | m_pcRNG |
Random number generator. More... | |
Real | m_fNoiseStdDeviation |
Noise parameters, at the moment noise is Gaussian. More... | |
Protected Attributes inherited from argos::CCI_MiniQuadrotorRotorActuator | |
SVelocities | m_sCurrentVelocities |
Definition at line 25 of file miniquadrotor_rotor_default_actuator.h.
Enumerator | |
---|---|
NORTH_ROTOR | |
WEST_ROTOR | |
SOUTH_ROTOR | |
EAST_ROTOR |
Definition at line 30 of file miniquadrotor_rotor_default_actuator.h.
argos::CMiniQuadrotorRotorDefaultActuator::CMiniQuadrotorRotorDefaultActuator | ( | ) |
Definition at line 17 of file miniquadrotor_rotor_default_actuator.cpp.
|
inlinevirtual |
Definition at line 41 of file miniquadrotor_rotor_default_actuator.h.
|
protectedvirtual |
Adds noise to the rotor velocity.
Definition at line 83 of file miniquadrotor_rotor_default_actuator.cpp.
|
virtual |
Initializes the actuator from the XML configuration tree.
The default implementation of this method does nothing.
t_node | The XML configuration tree relative to this actuator. |
Reimplemented from argos::CCI_Actuator.
Definition at line 41 of file miniquadrotor_rotor_default_actuator.cpp.
|
virtual |
Resets the actuator to the state it had just after Init().
The default implementation of this method does nothing.
Reimplemented from argos::CCI_Actuator.
Definition at line 76 of file miniquadrotor_rotor_default_actuator.cpp.
|
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. |
Implements argos::CSimulatedActuator.
Definition at line 26 of file miniquadrotor_rotor_default_actuator.cpp.
|
virtual |
Implements argos::CCI_MiniQuadrotorRotorActuator.
Definition at line 57 of file miniquadrotor_rotor_default_actuator.cpp.
|
virtual |
Updates the state of the entity associated to this actuator.
Implements argos::CSimulatedActuator.
Definition at line 69 of file miniquadrotor_rotor_default_actuator.cpp.
|
protected |
Noise parameters, at the moment noise is Gaussian.
Definition at line 67 of file miniquadrotor_rotor_default_actuator.h.
|
protected |
Random number generator.
Definition at line 64 of file miniquadrotor_rotor_default_actuator.h.
|
protected |
The rotor equipped entity.
Definition at line 61 of file miniquadrotor_rotor_default_actuator.h.