#include <schlangeservo.h>
Inheritance diagram for SchlangeServo:
It consists of a number of equal elements, each linked by a joint hinge powered by 1 servos
Definition at line 67 of file schlangeservo.h.
Public Member Functions | |
SchlangeServo (const OdeHandle &odeHandle, const OsgHandle &osgHandle, const SchlangeConf &conf, const char *name) | |
virtual | ~SchlangeServo () |
virtual void | setMotors (const motor *motors, int motornumber) |
Reads the actual motor commands from an array, an sets all motors (forces) of the snake to this values. | |
virtual int | getSensors (sensor *sensors, int sensornumber) |
Writes the sensor values to an array in the memory. | |
virtual int | getSensorNumber () |
returns number of sensors | |
virtual int | getMotorNumber () |
returns number of motors | |
virtual bool | setParam (const paramkey &key, paramval val) |
|
Definition at line 51 of file schlangeservo.cpp. |
|
Definition at line 61 of file schlangeservo.cpp. |
|
returns number of motors
Implements Schlange. Definition at line 102 of file schlangeservo.h. |
|
returns number of sensors
Implements Schlange. Definition at line 98 of file schlangeservo.h. |
|
Writes the sensor values to an array in the memory.
Implements Schlange. Definition at line 87 of file schlangeservo.cpp. |
|
Reads the actual motor commands from an array, an sets all motors (forces) of the snake to this values. It is an linear allocation.
Implements Schlange. Definition at line 70 of file schlangeservo.cpp. |
|
Reimplemented from Schlange. Definition at line 133 of file schlangeservo.cpp. |