MarXbotGroundAroundIRSensor Class Reference

The infrared ground around sensors of the MarXbot. More...

Inheritance diagram for MarXbotGroundAroundIRSensor:

List of all members.

Public Member Functions

 MarXbotGroundAroundIRSensor (ConfigurationParameters &params, QString prefix)
 Constructor.
virtual ~MarXbotGroundAroundIRSensor ()
 Destructor.
virtual void save (ConfigurationParameters &params, 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:
paramsthe ConfigurationParameters containing the parameters
prefixthe path prefix to the paramters for this Sensor

Definition at line 226 of file marxbotsensors.cpp.

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:
typethe 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:
paramsthe ConfigurationParameters object in which parameters should be saved
prefixthe 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().


The documentation for this class was generated from the following files: