19#ifndef LM_LINEARSCALER__
20#define LM_LINEARSCALER__
48 virtual void readBottle(yarp::os::Bottle& bot);
67 virtual bool configure(yarp::os::Searchable& config);
IScaler(double s=1., double o=0.)
Constructor.
double scale
The scale for the linear transformation.
double offset
The offset for the linear transformation.
virtual void setOffset(double o)
Mutator for the offset.
virtual void setScale(double s)
Mutator for the scaling factor.
virtual bool configure(yarp::os::Searchable &config)
virtual double getOffset()
Accessor for the offset.
virtual void readBottle(yarp::os::Bottle &bot)
Unserializes a scaler from a bottle.
virtual void writeBottle(yarp::os::Bottle &bot)
Writes a serialization of the scaler into a bottle.
virtual double getScale()
Accessor for the scaling factor.
LinearScaler(double s=1, double o=0)
Constructor.
LinearScaler * clone()
Asks the scaler to return a new object of its type.
virtual std::string getInfo()
Asks the learning machine to return a string containing statistics on its operation so far.
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.