64 const std::string& name);
virtual Primitive * getMainPrimitive() const
the main object of the robot, which is used for position and speed tracking
Definition: uwo.h:114
UwoConf conf
Definition: uwo.h:125
Data structure for accessing the ODE.
Definition: odehandle.h:44
double legLength
length of the legs in units of size
Definition: uwo.h:39
virtual void destroy()
destroys vehicle and space
Definition: uwo.cpp:186
Matrixd Matrix
Definition: osgforwarddecl.h:47
bool created
Definition: uwo.h:128
charArray paramkey
Definition: avrtypes.h:36
virtual void placeIntern(const osg::Matrix &pose)
sets the pose of the vehicle
Definition: uwo.cpp:105
double sensor
Definition: types.h:29
virtual int getMotorNumberIntern()
returns number of motors
Definition: uwo.cpp:60
double relLegmass
relative overall leg mass
Definition: uwo.h:44
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
int legNumber
number of snake elements
Definition: uwo.h:40
bool useSliders
use sliders at legs
Definition: uwo.h:42
virtual int getSensorNumberIntern()
returns number of sensors
Definition: uwo.cpp:64
std::vector< TwoAxisServo * > servos
Definition: uwo.h:131
double size
scaling factor for robot (diameter of body)
Definition: uwo.h:38
static UwoConf getDefaultConf()
Definition: uwo.h:68
std::vector< OneAxisServo * > sliderservos
Definition: uwo.h:132
double mass
chassis mass
Definition: uwo.h:43
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
virtual ~Uwo()
Definition: uwo.h:66
std::list< SensorAttachment > sensors
Definition: oderobot.h:269
double jointLimit
angle range for legs
Definition: uwo.h:45
Uwo(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const UwoConf &conf, const std::string &name)
constructor of uwo robot
Definition: uwo.cpp:44
double motorPower
maximal force for motors
Definition: uwo.h:46
OsgHandle osgHandle
Definition: oderobot.h:278
OdeHandle odeHandle
Definition: oderobot.h:277
double legmass
Definition: uwo.h:126
virtual int getSensorsIntern(sensor *sensors, int sensornumber)
returns actual sensorvalues
Definition: uwo.cpp:91
Abstract class for ODE robots.
Definition: oderobot.h:64
virtual void notifyOnChange(const paramkey &key)
Is called when a parameter was changes via setParam().
Definition: uwo.cpp:204
UWO: Unknown Walk Object :-), looks like a plate with a lot of legs.
Definition: uwo.h:52
Primitives objects
list of objects (should be populated by subclasses)
Definition: oderobot.h:265
bool radialLegs
joint orientation is radial instead of cartesian
Definition: uwo.h:41
virtual void setMotorsIntern(const double *motors, int motornumber)
sets actual motorcommands
Definition: uwo.cpp:72
virtual void create(const osg::Matrix &pose)
creates vehicle at desired pose
Definition: uwo.cpp:114
std::list< MotorAttachment > motors
Definition: oderobot.h:270
int c
Definition: hexapod.cpp:56