30 #ifndef __SCHLANGESERVO_H
31 #define __SCHLANGESERVO_H
47 std::vector <HingeServo*> servos;
52 const std::string& name,
const std::string& revision=
"");
87 virtual void destroy();
Data structure for accessing the ODE.
Definition: odehandle.h:44
bool created
Definition: schlange.h:76
Matrixd Matrix
Definition: osgforwarddecl.h:47
charArray paramkey
Definition: avrtypes.h:36
virtual int getSensorsIntern(double *sensors, int sensornumber)
Writes the sensor values to an array in the memory.
Definition: schlangeservo.cpp:65
Definition: schlange.h:46
virtual ~SchlangeServo()
Definition: schlangeservo.cpp:39
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
This is a class, which models a snake like robot.
Definition: schlange.h:72
This is a class, which models a snake like robot.
Definition: schlangeservo.h:44
std::list< SensorAttachment > sensors
Definition: oderobot.h:269
virtual void notifyOnChange(const paramkey &key)
Is called when a parameter was changes via setParam().
Definition: schlangeservo.cpp:113
virtual int getSensorNumberIntern()
returns number of sensors
Definition: schlangeservo.h:76
OsgHandle osgHandle
Definition: oderobot.h:278
OdeHandle odeHandle
Definition: oderobot.h:277
SchlangeConf conf
Definition: schlange.h:79
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: schlangeservo.cpp:48
virtual int getMotorNumberIntern()
returns number of motors
Definition: schlangeservo.h:80
std::list< MotorAttachment > motors
Definition: oderobot.h:270
SchlangeServo(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const SchlangeConf &conf, const std::string &name, const std::string &revision="")
Definition: schlangeservo.cpp:30