25 #ifndef __DIFFERENTIAL_H
26 #define __DIFFERENTIAL_H
29 #include <ode_robots/oderobot.h>
32 #include <ode_robots/primitive.h>
35 #include <ode_robots/joint.h>
38 #include <ode_robots/angularmotor.h>
41 #include <ode_robots/raysensorbank.h>
42 #include <ode_robots/irsensor.h>
74 const std::string& name =
"Differential");
double wheelMotorMaxSpeed
Definition: differential.h:56
Data structure for accessing the ODE.
Definition: odehandle.h:44
Matrixd Matrix
Definition: osgforwarddecl.h:47
double irRange
Definition: differential.h:57
virtual ~Differential()
Destructor.
Definition: differential.cpp:37
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
double wheelMotorPower
Definition: differential.h:55
double bodyHeight
Definition: differential.h:50
double bodyMass
Definition: differential.h:51
virtual void create(const osg::Matrix &pose)
Create the robot in the desired pose.
Definition: differential.cpp:51
DifferentialConf conf
Definition: differential.h:67
double bodyRadius
Definition: differential.h:49
double wheelRadius
Definition: differential.h:52
Definition: differential.h:48
OsgHandle osgHandle
Definition: oderobot.h:278
OdeHandle odeHandle
Definition: oderobot.h:277
Differential robot: two separated wheel on each side of the body Inherit from OdeRobot.
Definition: differential.h:64
Abstract class for ODE robots.
Definition: oderobot.h:64
double wheelMass
Definition: differential.h:54
static DifferentialConf getDefaultConf()
Default configuration of the robot.
Definition: differential.h:79
virtual void placeIntern(const osg::Matrix &pose) override
Place the robot in the desired pose.
Definition: differential.cpp:41
Differential(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const DifferentialConf &conf=getDefaultConf(), const std::string &name="Differential")
Contrustructor.
Definition: differential.cpp:31
double wheelHeight
Definition: differential.h:53