29 #ifndef __SCHLANGEVELOCITY_H
30 #define __SCHLANGEVELOCITY_H
93 virtual void destroy();
double jointLimit
maximal angle for the joints (M_PI/4 = 45 degree)
Definition: schlange.h:56
double segmMass
mass of one snake element
Definition: schlange.h:51
Data structure for accessing the ODE.
Definition: odehandle.h:44
virtual void setMotorsIntern(const double *motors, int motornumber)
Reads the actual motor commands from an array, an sets all motors of the snake to this values...
Definition: schlangevelocity.cpp:47
bool created
Definition: schlange.h:76
Matrixd Matrix
Definition: osgforwarddecl.h:47
virtual int getSensorNumberIntern()
returns number of sensors
Definition: schlangevelocity.h:85
virtual ~SchlangeVelocity()
Definition: schlangevelocity.cpp:38
double sensor
Definition: types.h:29
Definition: schlange.h:46
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
Joints joints
list of joints (should be populated by subclasses)
Definition: oderobot.h:267
This is a class, which models a snake like robot.
Definition: schlange.h:72
double paramval
Definition: configurable.h:88
int segmNumber
number of snake elements
Definition: schlange.h:48
std::list< SensorAttachment > sensors
Definition: oderobot.h:269
virtual int getSensorsIntern(sensor *sensors, int sensornumber)
Writes the sensor values to an array in the memory.
Definition: schlangevelocity.cpp:71
double motorPower
power of the motors / servos
Definition: schlange.h:52
OsgHandle osgHandle
Definition: oderobot.h:278
OdeHandle odeHandle
Definition: oderobot.h:277
double segmLength
length of one snake element
Definition: schlange.h:49
SchlangeConf conf
Definition: schlange.h:79
SchlangeVelocity(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const SchlangeConf &conf, const std::string &name)
Definition: schlangevelocity.cpp:31
static SchlangeConf getDefaultConf()
Definition: schlangevelocity.h:53
This is a class, which models a snake like robot.
Definition: schlangevelocity.h:41
double segmDia
diameter of a snake element
Definition: schlange.h:50
virtual int getMotorNumberIntern()
returns number of motors
Definition: schlangevelocity.h:89
std::list< MotorAttachment > motors
Definition: oderobot.h:270