24 #ifndef __SHORTCIRCUIT_H
25 #define __SHORTCIRCUIT_H
Data structure for accessing the ODE.
Definition: odehandle.h:44
virtual int getSensorNumberIntern()
returns number of sensors
Definition: shortcircuit.h:64
Matrixd Matrix
Definition: osgforwarddecl.h:47
virtual void setMotorsIntern(const double *motors, int motornumber)
sets actual motorcommands
Definition: shortcircuit.cpp:55
double sensor
Definition: types.h:29
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
int sensorno
Definition: shortcircuit.h:82
DummyPrimitive * dummy
Definition: shortcircuit.h:81
int motorno
Definition: shortcircuit.h:83
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
virtual void placeIntern(const osg::Matrix &pose)
sets the pose of the vehicle
Definition: shortcircuit.h:47
Data structure holding all essential global information.
Definition: globaldata.h:57
virtual int getMotorNumberIntern()
returns number of motors
Definition: shortcircuit.h:68
std::list< SensorAttachment > sensors
Definition: oderobot.h:269
Definition: shortcircuit.h:36
OsgHandle osgHandle
Definition: oderobot.h:278
OdeHandle odeHandle
Definition: oderobot.h:277
virtual Primitive * getMainPrimitive() const
the main object of the robot, which is used for position and speed tracking
Definition: shortcircuit.h:78
Abstract class for ODE robots.
Definition: oderobot.h:64
virtual ~ShortCircuit()
Definition: shortcircuit.cpp:47
double * motors
Definition: shortcircuit.h:84
Dummy Primitive which returns 0 for geom and body.
Definition: primitive.h:452
virtual int getSensorsIntern(sensor *sensors, int sensornumber)
returns actual sensorvalues
Definition: shortcircuit.cpp:65
ShortCircuit(const OdeHandle &odeHandle, const OsgHandle &osgHandle, int sensornumber, int motornumber)
Definition: shortcircuit.cpp:33
virtual void doInternalStuff(GlobalData &globalData)
this function is called in each timestep.
Definition: shortcircuit.h:74