Inherits AbstractRobot.

Public Member Functions | |
| MyRobot () | |
| ~MyRobot () | |
| virtual int | getSensors (sensor *sensors, int sensornumber) |
| returns actual sensorvalues | |
| virtual void | setMotors (const motor *motors, int motornumber) |
| sets actual motorcommands | |
| virtual int | getSensorNumber () |
| returns number of sensors | |
| virtual int | getMotorNumber () |
| returns number of motors | |
| virtual Position | getPosition () const |
| returns position of the object | |
| virtual Position | getSpeed () const |
| returns linear speed vector of the object | |
| virtual Position | getAngularSpeed () const |
| returns linear speed vector of the object | |
| virtual matrix::Matrix | getOrientation () const |
| returns the orientation of the object | |
| virtual paramval | getParam (const paramkey &key, bool traverseChildren) const |
| returns the value of the requested parameter or 0 (+ error message to stderr) if unknown. | |
| virtual bool | setParam (const paramkey &key, paramval val, bool traverseChildren) |
| sets the value of the given parameter or does nothing if unknown. | |
| virtual paramlist | getParamList () const |
| The list of all parameters with there value as allocated lists. | |
| MyRobot | ( | ) | [inline] |
| ~MyRobot | ( | ) | [inline] |
| virtual Position getAngularSpeed | ( | ) | const [inline, virtual] |
returns linear speed vector of the object
Implements Trackable.
| virtual int getMotorNumber | ( | ) | [inline, virtual] |
| virtual matrix::Matrix getOrientation | ( | ) | const [inline, virtual] |
returns the orientation of the object
Implements Trackable.
returns the value of the requested parameter or 0 (+ error message to stderr) if unknown.
Reimplemented from Configurable.
| virtual paramlist getParamList | ( | ) | const [inline, virtual] |
The list of all parameters with there value as allocated lists.
Note that these are only parameters that are managed manually (with setParam, getParam)
Reimplemented from Configurable.
| virtual Position getPosition | ( | ) | const [inline, virtual] |
returns position of the object
Implements Trackable.
| virtual int getSensorNumber | ( | ) | [inline, virtual] |
| virtual int getSensors | ( | sensor * | sensors, | |
| int | sensornumber | |||
| ) | [inline, virtual] |
returns actual sensorvalues
| sensors | sensors scaled to [-1,1] | |
| sensornumber | length of the sensor array |
Implements AbstractRobot.
| virtual Position getSpeed | ( | ) | const [inline, virtual] |
returns linear speed vector of the object
Implements Trackable.
| virtual void setMotors | ( | const motor * | motors, | |
| int | motornumber | |||
| ) | [inline, virtual] |
sets actual motorcommands
| motors | motors scaled to [-1,1] | |
| motornumber | length of the motor array |
Implements AbstractRobot.
| virtual bool setParam | ( | const paramkey & | key, | |
| paramval | val, | |||
| bool | traverseChildren | |||
| ) | [inline, virtual] |
sets the value of the given parameter or does nothing if unknown.
Reimplemented from Configurable.
1.6.3