#include <fourwheeled.h>
Inherits Nimm4.
Inheritance diagram for FourWheeled:


Public Member Functions | |
| FourWheeled (const OdeHandle &odeHandle, const OsgHandle &osgHandle, FourWheeledConf conf, const std::string &name) | |
| constructor of nimm4 robot | |
| virtual | ~FourWheeled () |
| virtual void | update () |
| updates the OSG nodes of the vehicle | |
| virtual int | getSensorNumber () |
| returns number of sensors | |
| virtual int | getSensors (sensor *sensors, int sensornumber) |
| returns actual sensorvalues | |
| virtual void | doInternalStuff (GlobalData &globalData) |
| this function is called in each timestep. | |
Static Public Member Functions | |
| static FourWheeledConf | getDefaultConf () |
Protected Member Functions | |
| virtual void | create (const osg::Matrix &pose) |
| creates vehicle at desired position | |
| virtual void | destroy () |
| destroys vehicle and space | |
Protected Attributes | |
| FourWheeledConf | conf |
| RaySensorBank | irSensorBank |
| Primitive * | bumpertrans |
| Primitive * | bumper |
| FourWheeled | ( | const OdeHandle & | odeHandle, | |
| const OsgHandle & | osgHandle, | |||
| FourWheeledConf | conf, | |||
| const std::string & | name | |||
| ) |
constructor of nimm4 robot
| odeHandle | data structure for accessing ODE | |
| osgHandle | ata structure for accessing OSG | |
| conf | configuration structure | |
| name | name of the robot |
| ~FourWheeled | ( | ) | [virtual] |
| void create | ( | const osg::Matrix & | pose | ) | [protected, virtual] |
| void destroy | ( | ) | [protected, virtual] |
| void doInternalStuff | ( | GlobalData & | globalData | ) | [virtual] |
this function is called in each timestep.
It should perform robot-internal checks, like space-internal collision detection, sensor resets/update etc.
| globalData | structure that contains global data from the simulation environment |
Reimplemented from Nimm4.
| static FourWheeledConf getDefaultConf | ( | ) | [inline, static] |
| int getSensorNumber | ( | ) | [virtual] |
| int getSensors | ( | sensor * | sensors, | |
| int | sensornumber | |||
| ) | [virtual] |
returns actual sensorvalues
| sensors | sensors scaled to [-1,1] | |
| sensornumber | length of the sensor array |
Reimplemented from Nimm4.
| void update | ( | ) | [virtual] |
Primitive* bumpertrans [protected] |
FourWheeledConf conf [protected] |
RaySensorBank irSensorBank [protected] |
1.4.7