51 #ifndef CCI_FOOTBOT_DISTANCE_SCANNER_SENSOR_H
52 #define CCI_FOOTBOT_DISTANCE_SCANNER_SENSOR_H
56 class CCI_FootBotDistanceScannerSensor;
59 #include <argos3/core/control_interface/ci_sensor.h>
60 #include <argos3/core/utility/math/angles.h>
84 Distance(f_distance) {
148 #ifdef ARGOS_WITH_LUA
149 virtual void CreateLuaState(lua_State* pt_lua_state);
151 virtual void ReadingsToLuaState(lua_State* pt_lua_state);
std::vector< SReading > TReadings
The DTO of the distance scanner, it contains the measured distance and its angle. ...
const TReadingsMap & GetShortReadingsMap()
Return a map of the readings of the ds, short sensor readings A map of the readings of the ds short s...
TReadingsMap m_tReadingsMap
Map storing all the last received packets.
float Real
Collects all ARGoS code.
CCI_FootBotDistanceScannerSensor()
Constructor.
std::pair< CRadians, Real > TMapPair
TReadingsMap m_tLongReadingsMap
Map storing the last received packets from the long distance sensors.
SReading(const CRadians &c_angle, Real f_distance)
It defines the basic type CRadians, used to store an angle value in radians.
TLastReadings m_tLastReadings
Vector storing the last received packets.
TReadings m_tReadings
A vector of sReadings.
std::vector< TReadings > TLastReadings
const TReadingsMap & GetReadingsMap()
Return a map of the readings of the ds A map of the readings of the ds in the following format: angle...
std::map< CRadians, Real > TReadingsMap
The basic interface for all sensors.
const TReadingsMap & GetLongReadingsMap()
Return a map of the readings of the ds, long sensor readings A map of the readings of the ds long sen...
The namespace containing all the ARGoS related code.
TReadingsMap m_tShortReadingsMap
Map storing the last received packets from the short distance sensors.
virtual ~CCI_FootBotDistanceScannerSensor()
Destructor.