MarXbotGroundBottomIRSensor Class Reference

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

Inheritance diagram for MarXbotGroundBottomIRSensor:

List of all members.

Public Member Functions

 MarXbotGroundBottomIRSensor (ConfigurationParameters &params, QString prefix)
 Constructor.
virtual ~MarXbotGroundBottomIRSensor ()
 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 bottom sensors of the MarXbot.

The infrared ground sensors below the battery pack of the MarXbot

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 204 of file marxbotsensors.h.


Constructor & Destructor Documentation

MarXbotGroundBottomIRSensor ( 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 155 of file marxbotsensors.cpp.

Destructor.

Definition at line 162 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 176 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 167 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 199 of file marxbotsensors.cpp.

Referenced by MarXbotGroundBottomIRSensor::update().


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