107 static void mycallback(
void *data, dGeomID o1, dGeomID o2);
Data structure for accessing the ODE.
Definition: odehandle.h:44
int segmentsno
Definition: nimm4.h:119
virtual void create(const osg::Matrix &pose)
creates vehicle at desired pose
Definition: nimm4.cpp:156
virtual void destroy()
destroys vehicle and space
Definition: nimm4.cpp:222
double width
Definition: nimm4.h:110
Physical substance definition, used for collision detection/treatment What we need is mu...
Definition: substance.h:103
double wheelthickness
Definition: nimm4.h:113
Matrixd Matrix
Definition: osgforwarddecl.h:47
double radius
Definition: nimm4.h:112
bool created
Definition: nimm4.h:124
virtual int getSensorsIntern(double *sensors, int sensornumber)
returns actual sensorvalues
Definition: nimm4.cpp:108
double wmass
Definition: nimm4.h:116
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
double length
Definition: nimm4.h:109
Nimm4(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const std::string &name, double size=1, double force=3, double speed=15, bool sphereWheels=true)
constructor of nimm4 robot
Definition: nimm4.cpp:47
bool sphereWheels
Definition: nimm4.h:114
virtual int getSensorNumberIntern()
returns number of sensors
Definition: nimm4.h:84
int motorno
Definition: nimm4.h:118
virtual void update()
updates the OSG nodes of the vehicle
Definition: nimm4.cpp:139
double max_force
Definition: nimm4.h:122
virtual ~Nimm4()
Definition: nimm4.h:54
virtual void placeIntern(const osg::Matrix &pose)
sets the pose of the vehicle
Definition: nimm4.cpp:126
std::list< SensorAttachment > sensors
Definition: oderobot.h:269
virtual void setMotorsIntern(const double *motors, int motornumber)
sets actual motorcommands
Definition: nimm4.cpp:88
virtual int getMotorNumberIntern()
returns number of motors
Definition: nimm4.h:90
OsgHandle osgHandle
Definition: oderobot.h:278
OdeHandle odeHandle
Definition: oderobot.h:277
Abstract class for ODE robots.
Definition: oderobot.h:64
Robot that looks like a Nimm 2 Bonbon :-) 4 wheels and a capsule like body Wheelorder: front left...
Definition: nimm4.h:39
Substance wheelsubstance
Definition: nimm4.h:126
double cmass
Definition: nimm4.h:115
int sensorno
Definition: nimm4.h:117
static void mycallback(void *data, dGeomID o1, dGeomID o2)
additional things for collision handling can be done here
std::list< MotorAttachment > motors
Definition: oderobot.h:270
double speed
Definition: nimm4.h:120
double height
Definition: nimm4.h:111