quadrotor_speed_default_actuator.h
Go to the documentation of this file.
1 
7 #ifndef QUADROTOR_SPEED_ACTUATOR_DEFAULT_H
8 #define QUADROTOR_SPEED_ACTUATOR_DEFAULT_H
9 
10 #include <string>
11 #include <map>
12 
13 namespace argos {
14  class CQuadRotorSpeedDefaultActuator;
15 }
16 
17 #include <argos3/core/utility/math/rng.h>
18 #include <argos3/core/simulator/actuator.h>
19 #include <argos3/core/simulator/entity/composable_entity.h>
20 #include <argos3/plugins/robots/generic/control_interface/ci_quadrotor_speed_actuator.h>
21 #include <argos3/plugins/simulator/entities/quadrotor_entity.h>
22 
23 namespace argos {
24 
27 
28  public:
29 
32 
33  virtual void SetRobot(CComposableEntity& c_entity);
34 
35  virtual void Init(TConfigurationNode& t_tree);
36 
37  virtual void SetLinearVelocity(const CVector3& c_velocity);
38  virtual void SetRotationalSpeed(const CRadians& c_speed);
39 
40  virtual void Update();
41  virtual void Reset();
42 
43  protected:
44 
48 
49  };
50 
51 }
52 
53 #endif
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
The basic interface for a simulated actuator.
Definition: actuator.h:24
Basic class for an entity that contains other entities.
This entity is a link to a body in the physics engine.
It defines the basic type CRadians, used to store an angle value in radians.
Definition: angles.h:42
A 3D vector class.
Definition: vector3.h:31
virtual void Reset()
Resets the actuator to the state it had just after Init().
virtual void Init(TConfigurationNode &t_tree)
Initializes the actuator from the XML configuration tree.
CQuadRotorEntity::SSpeedControlData m_sDesiredSpeedData
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this actuator.
virtual void SetLinearVelocity(const CVector3 &c_velocity)
Sets the linear velocity of the quadrotor.
virtual void SetRotationalSpeed(const CRadians &c_speed)
Sets the rotational velocity of the quadrotor around the local Z axis (yaw).
virtual void Update()
Updates the state of the entity associated to this actuator.