24 #ifndef __REPLAYROBOT_H
25 #define __REPLAYROBOT_H
29 #include <selforg/types.h>
30 #include <selforg/matrix.h>
static bool parseDataLine(matrix::Matrix &data, FILE *f)
Definition: replayrobot.cpp:123
virtual void setMotorsIntern(const double *motors, int motornumber)
sets actual motorcommands
Definition: replayrobot.cpp:57
Matrix type.
Definition: matrix.h:65
Data structure for accessing the ODE.
Definition: odehandle.h:44
matrix::Matrix sensors
Definition: replayrobot.h:93
Matrixd Matrix
Definition: osgforwarddecl.h:47
ReplayRobot(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const char *filename)
Definition: replayrobot.cpp:34
double sensor
Definition: types.h:29
Definition: replayrobot.h:37
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
static bool isEmpty(const char *c)
Definition: replayrobot.cpp:103
virtual Primitive * getMainPrimitive() const
the main object of the robot, which is used for position and speed tracking
Definition: replayrobot.h:79
int motorStart
Definition: replayrobot.h:90
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
Data structure holding all essential global information.
Definition: globaldata.h:57
virtual void placeIntern(const osg::Matrix &pose)
sets the pose of the vehicle
Definition: replayrobot.h:48
int sensorStart
Definition: replayrobot.h:88
FILE * f
Definition: replayrobot.h:95
int motorEnd
Definition: replayrobot.h:91
virtual int getSensorNumberInternIntern()
returns number of sensors
Definition: replayrobot.h:65
const char * filename
Definition: replayrobot.h:94
OsgHandle osgHandle
Definition: oderobot.h:278
OdeHandle odeHandle
Definition: oderobot.h:277
virtual int getSensorsIntern(sensor *sensors, int sensornumber)
returns actual sensorvalues
Definition: replayrobot.cpp:60
Abstract class for ODE robots.
Definition: oderobot.h:64
static bool check4Number(const char *c)
Definition: replayrobot.cpp:114
virtual int getMotorNumberInternIntern()
returns number of motors
Definition: replayrobot.h:69
int sensorEnd
Definition: replayrobot.h:89
virtual void doInternalStuff(GlobalData &globalData)
this function is called in each timestep.
Definition: replayrobot.h:75
~ReplayRobot()
Definition: replayrobot.cpp:53
std::list< MotorAttachment > motors
Definition: oderobot.h:270
static bool parseDataFileForHeader(FILE *f, int &sensorstart, int &sensorend, int &motorstart, int &motorend)
Definition: replayrobot.cpp:71
int c
Definition: hexapod.cpp:56