#include <schlangevelocity.h>
Inherits Schlange.
Inheritance diagram for SchlangeVelocity:
Public Member Functions | |
SchlangeVelocity (const OdeHandle &odeHandle, const OsgHandle &osgHandle, const SchlangeConf &conf, const std::string &name) | |
virtual | ~SchlangeVelocity () |
virtual void | setMotors (const motor *motors, int motornumber) |
Reads the actual motor commands from an array, and 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 | |
Static Public Member Functions | |
SchlangeConf | getDefaultConf () |
Private Member Functions | |
virtual void | create (const osg::Matrix &pose) |
creates vehicle at desired position | |
virtual void | destroy () |
destroys vehicle and space | |
Private Attributes | |
paramval | factor_motors |
paramval | factor_sensors |
paramval | friction_joint |
It consists of a number of equal elements, each linked by a joint powered by directly setting the angular velocities of the joints
|
|
|
|
|
creates vehicle at desired position
Reimplemented from Schlange.
|
|
destroys vehicle and space
Reimplemented from Schlange.
|
|
Reimplemented from Schlange.
|
|
returns number of motors
Implements Schlange.
|
|
returns number of sensors
Implements Schlange.
|
|
Writes the sensor values to an array in the memory.
Implements Schlange.
|
|
Reads the actual motor commands from an array, and sets all motors (forces) of the snake to this values. It is an linear allocation.
Implements Schlange.
|
|
|
|
|
|
|