24 #ifndef __FOUR_WHEELED__
25 #define __FOUR_WHEELED__
FourWheeled(const OdeHandle &odeHandle, const OsgHandle &osgHandle, FourWheeledConf conf, const std::string &name)
constructor of nimm4 robot
Definition: fourwheeled.cpp:40
Data structure for accessing the ODE.
Definition: odehandle.h:44
virtual void destroy()
destroys vehicle and space
Definition: fourwheeled.cpp:183
bool irFront
Definition: fourwheeled.h:44
Physical substance definition, used for collision detection/treatment What we need is mu...
Definition: substance.h:103
Robot is based on nimm4 with 4 wheels and a capsule like body.
Definition: fourwheeled.h:56
Matrixd Matrix
Definition: osgforwarddecl.h:47
double sensor
Definition: types.h:29
FourWheeledConf conf
Definition: fourwheeled.h:109
virtual void setMotorsIntern(const double *motors, int motornumber)
sets actual motorcommands
Definition: fourwheeled.cpp:83
bool sphereWheels
Definition: fourwheeled.h:40
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
static FourWheeledConf getDefaultConf()
Definition: fourwheeled.h:68
Substance wheelSubstance
Definition: fourwheeled.h:50
void toRubber(float hardness)
high roughness, no slip, very elastic, hardness : [5-50]
Definition: substance.cpp:129
double irRangeBack
Definition: fourwheeled.h:48
bool irBack
Definition: fourwheeled.h:45
double size
Definition: fourwheeled.h:37
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
Primitive * bumpertrans
Definition: fourwheeled.h:110
std::list< SensorAttachment > sensors
Definition: oderobot.h:269
bool twoWheelMode
if true then the robot emulates 2 wheels
Definition: fourwheeled.h:43
bool irSide
Definition: fourwheeled.h:46
OsgHandle osgHandle
Definition: oderobot.h:278
double speed
Definition: fourwheeled.h:39
OdeHandle odeHandle
Definition: oderobot.h:277
bool useButton
use yellow Button at the back
Definition: fourwheeled.h:42
double irRangeSide
Definition: fourwheeled.h:49
double force
Definition: fourwheeled.h:38
Robot that looks like a Nimm 2 Bonbon :-) 4 wheels and a capsule like body Wheelorder: front left...
Definition: nimm4.h:39
virtual int getSensorsIntern(sensor *sensors, int sensornumber)
returns actual sensorvalues
Definition: fourwheeled.cpp:62
virtual void create(const osg::Matrix &pose)
creates vehicle at desired pose
Definition: fourwheeled.cpp:100
virtual int getSensorNumberIntern()
returns number of sensors
Definition: fourwheeled.cpp:54
bool useBumper
Definition: fourwheeled.h:41
Primitive * bumper
Definition: fourwheeled.h:111
double irRangeFront
Definition: fourwheeled.h:47
virtual Joint * getJoint(int i)
Definition: fourwheeled.cpp:174
virtual int getMotorNumberIntern()
returns number of motors
Definition: fourwheeled.cpp:76
std::list< MotorAttachment > motors
Definition: oderobot.h:270
virtual ~FourWheeled()
Definition: fourwheeled.cpp:50
Definition: fourwheeled.h:36