ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
00001 00016 #ifndef CCI_FOOTBOT_GYROSCOPIC_SENSOR_H 00017 #define CCI_FOOTBOT_GYROSCOPIC_SENSOR_H 00018 00019 namespace argos { 00020 class CCI_FootBotGyroscopicSensor; 00021 } 00022 00023 #include <argos3/core/control_interface/ci_sensor.h> 00024 #include <argos3/core/utility/math/vector2.h> 00025 00026 namespace argos { 00027 00028 class CCI_FootBotGyroscopicSensor : virtual public CCI_Sensor { 00029 00030 public: 00031 00032 struct SReading { 00033 CRadians DeltaRotationZ; 00034 }; 00035 00036 public: 00037 00038 virtual ~CCI_FootBotGyroscopicSensor() { 00039 } 00040 00041 inline const SReading& GetReading() const { 00042 return m_sReading; 00043 } 00044 00045 protected: 00046 00047 SReading m_sReading; 00048 00049 }; 00050 00051 } 00052 00053 #endif