footbot_turret_encoder_default_sensor.h
Go to the documentation of this file.
1 
7 #ifndef FOOTBOT_TURRET_ENCODER_DEFAULT_SENSOR_H
8 #define FOOTBOT_TURRET_ENCODER_DEFAULT_SENSOR_H
9 
10 #include <string>
11 #include <map>
12 
13 namespace argos {
14  class CFootBotTurretEncoderDefaultSensor;
15 }
16 
17 #include <argos3/plugins/robots/foot-bot/control_interface/ci_footbot_turret_encoder_sensor.h>
18 #include <argos3/plugins/robots/foot-bot/simulator/footbot_turret_encoder_default_sensor.h>
19 #include <argos3/plugins/robots/foot-bot/simulator/footbot_turret_entity.h>
20 #include <argos3/core/simulator/sensor.h>
21 
22 namespace argos {
23 
25  public CSimulatedSensor {
26 
27  public:
28 
30 
32 
33  virtual void SetRobot(CComposableEntity& c_entity);
34 
35  virtual void Update();
36 
37  virtual void Reset();
38 
39  private:
40 
41  CFootBotTurretEntity* m_pcTurretEntity;
42 
43  };
44 
45 }
46 
47 #endif
The basic interface for a simulated sensor.
Definition: sensor.h:22
virtual void Reset()
Resets the sensor to the state it had just after Init().
Basic class for an entity that contains other entities.
virtual void Update()
Updates the state of the entity associated to this sensor.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12