MarXbotGroundAroundIRSensor Class Reference
The infrared ground around sensors of the MarXbot. More...

Public Member Functions | |
MarXbotGroundAroundIRSensor (ConfigurationParameters ¶ms, QString prefix) | |
Constructor. | |
virtual | ~MarXbotGroundAroundIRSensor () |
Destructor. | |
virtual void | save (ConfigurationParameters ¶ms, QString prefix) |
Saves current parameters into the given ConfigurationParameters object. | |
virtual int | size () |
Returns the number of neurons required by this sensor. | |
virtual void | update () |
Performs the sensor update. This also modifies the activation of input neurons. | |
Static Public Member Functions | |
static void | describe (QString type) |
Generates a description of this class and its parameters. |
Detailed Description
The infrared ground around sensors of the MarXbot.
The infrared ground sensors below the base of the robot (just above the wheels)
This class does not add any other parameter to those defined by the parent class (MarXbotSensor)
The resources required by this Sensor are the same as those of the parent class
Definition at line 284 of file marxbotsensors.h.
Constructor & Destructor Documentation
MarXbotGroundAroundIRSensor | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) |
Constructor.
Creates and configures the sensor
- Parameters:
-
params the ConfigurationParameters containing the parameters prefix the path prefix to the paramters for this Sensor
Definition at line 226 of file marxbotsensors.cpp.
~MarXbotGroundAroundIRSensor | ( | ) | [virtual] |
Destructor.
Definition at line 233 of file marxbotsensors.cpp.
Member Function Documentation
void describe | ( | QString | type | ) | [static] |
Generates a description of this class and its parameters.
- Parameters:
-
type the string representation of this class name
Reimplemented from MarXbotSensor.
Definition at line 247 of file marxbotsensors.cpp.
References ParameterSettable::addTypeDescription().
void save | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) | [virtual] |
Saves current parameters into the given ConfigurationParameters object.
- Parameters:
-
params the ConfigurationParameters object in which parameters should be saved prefix the name and path of the group where to save parametrs
Reimplemented from MarXbotSensor.
Definition at line 238 of file marxbotsensors.cpp.
References ConfigurationParameters::startObjectParameters().
int size | ( | ) | [virtual] |
Returns the number of neurons required by this sensor.
- Returns:
- the number of neurons required by this sensor
Implements Sensor.
Definition at line 270 of file marxbotsensors.cpp.
Referenced by MarXbotGroundAroundIRSensor::update().
void update | ( | ) | [virtual] |
Performs the sensor update. This also modifies the activation of input neurons.
Implements Sensor.
Definition at line 256 of file marxbotsensors.cpp.
References IRSensorController::activation(), Sensor::checkAllNeededResourcesExist(), PhyMarXbot::groundAroundIRSensorController(), Sensor::name(), NeuronsIterator::nextNeuron(), NeuronsIterator::setCurrentBlock(), NeuronsIterator::setInput(), and MarXbotGroundAroundIRSensor::size().
The documentation for this class was generated from the following files:
- experiments/include/marxbotsensors.h
- experiments/src/marxbotsensors.cpp