29 #ifndef __SCHLANGEFORCE_H
30 #define __SCHLANGEFORCE_H
46 const std::string& name,
const std::string& revision);
78 virtual void destroy();
Data structure for accessing the ODE.
Definition: odehandle.h:44
bool created
Definition: schlange.h:76
virtual int getMotorNumberIntern()
returns number of motors
Definition: schlangeforce.h:74
Matrixd Matrix
Definition: osgforwarddecl.h:47
virtual int getSensorsIntern(sensor *sensors, int sensornumber)
Writes the sensor values to an array in the memory.
Definition: schlangeforce.cpp:76
Definition: schlange.h:46
SchlangeForce(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const SchlangeConf &conf, const std::string &name, const std::string &revision)
Definition: schlangeforce.cpp:30
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
virtual int getSensorNumberIntern()
returns number of sensors
Definition: schlangeforce.h:70
virtual ~SchlangeForce()
Definition: schlangeforce.cpp:38
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
std::list< SensorAttachment > sensors
Definition: oderobot.h:269
OsgHandle osgHandle
Definition: oderobot.h:278
OdeHandle odeHandle
Definition: oderobot.h:277
SchlangeConf conf
Definition: schlange.h:79
This is a class, which models a snake like robot.
Definition: schlangeforce.h:41
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: schlangeforce.cpp:47
double sensor
Definition: abstractrobot.h:43
std::list< MotorAttachment > motors
Definition: oderobot.h:270