30 #ifndef __SCHLANGESERVO2_H
31 #define __SCHLANGESERVO2_H
47 std::vector <UniversalServo*> servos;
52 const std::string& name,
53 const std::string& revision =
"" );
87 virtual void destroy();
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: schlangeservo2.cpp:49
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
Definition: schlange.h:46
virtual ~SchlangeServo2()
Definition: schlangeservo2.cpp:40
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
This is a class, which models a snake like robot.
Definition: schlange.h:72
virtual void notifyOnChange(const paramkey &key)
Is called when a parameter was changes via setParam().
Definition: schlangeservo2.cpp:122
This is a class, which models a snake like robot.
Definition: schlangeservo2.h:44
virtual int getMotorNumberIntern()
returns number of motors
Definition: schlangeservo2.h:80
virtual int getSensorNumberIntern()
returns number of sensors
Definition: schlangeservo2.h:76
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
double sensor
Definition: abstractrobot.h:43
virtual int getSensorsIntern(sensor *sensors, int sensornumber)
Writes the sensor values to an array in the memory.
Definition: schlangeservo2.cpp:66
std::list< MotorAttachment > motors
Definition: oderobot.h:270
SchlangeServo2(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const SchlangeConf &conf, const std::string &name, const std::string &revision="")
Definition: schlangeservo2.cpp:31