24 #ifndef __HURLINGSNAKE_H
25 #define __HURLINGSNAKE_H
28 #include <selforg/configurable.h>
104 virtual void destroy();
bool parambool
Definition: configurable.h:93
virtual void placeIntern(const osg::Matrix &pose)
sets the pose of the vehicle
Definition: hurlingsnake.cpp:93
Data structure for accessing the ODE.
Definition: odehandle.h:44
std::string paramkey
Definition: configurable.h:85
virtual void setMotorsIntern(const double *motors, int motornumber)
sets actual motorcommands
Definition: hurlingsnake.cpp:132
Matrixd Matrix
Definition: osgforwarddecl.h:47
~HurlingSnake()
Definition: hurlingsnake.cpp:88
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
virtual void doInternalStuff(GlobalData &globalData)
this function is called in each timestep.
Definition: hurlingsnake.cpp:101
Definition: position.h:30
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
virtual int getSensorNumberIntern()
returns number of sensors
Definition: hurlingsnake.cpp:143
Hurling snake is a string a beats.
Definition: hurlingsnake.h:38
Data structure holding all essential global information.
Definition: globaldata.h:57
HurlingSnake(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const std::string &name)
Constructor.
Definition: hurlingsnake.cpp:38
std::list< SensorAttachment > sensors
Definition: oderobot.h:269
double paramval
Definition: avrtypes.h:37
virtual void notifyOnChange(const paramkey &key)
Is called when a parameter was changes via setParam().
Definition: hurlingsnake.cpp:216
virtual int getSegmentsPosition(std::vector< Position > &poslist)
returns a vector with the positions of all segments of the robot
Definition: hurlingsnake.cpp:158
OsgHandle osgHandle
Definition: oderobot.h:278
OdeHandle odeHandle
Definition: oderobot.h:277
Abstract class for ODE robots.
Definition: oderobot.h:64
double sensor
Definition: abstractrobot.h:43
Primitives objects
list of objects (should be populated by subclasses)
Definition: oderobot.h:265
virtual int getSensorsIntern(sensor *sensors, int sensornumber)
returns actual sensorvalues
Definition: hurlingsnake.cpp:115
std::list< MotorAttachment > motors
Definition: oderobot.h:270
virtual Primitive * getMainPrimitive() const
the main object of the robot, which is used for position and speed tracking
Definition: hurlingsnake.h:91
virtual int getMotorNumberIntern()
returns number of motors
Definition: hurlingsnake.cpp:149