25 #ifndef __BARREL2MASSES_H
26 #define __BARREL2MASSES_H
double irsensorscale
range of the ir sensors in units of diameter
Definition: sphererobot3masses.h:53
virtual ~Barrel2Masses()
Definition: barrel2masses.cpp:53
virtual int getSensorsIntern(sensor *sensors, int sensornumber)
Writes the sensor values to an array in the memory.
Definition: barrel2masses.cpp:57
Data structure for accessing the ODE.
Definition: odehandle.h:44
double brake
if nonzero the robot brakes (deaccelerates actively/magically)
Definition: sphererobot3masses.h:57
bool irAxis3
Definition: sphererobot3masses.h:49
bool motorsensor
motor values as sensors
Definition: sphererobot3masses.h:46
RaySensor::rayDrawMode drawIRs
Definition: sphererobot3masses.h:52
double spheremass
Definition: sphererobot3masses.h:41
Matrixd Matrix
Definition: osgforwarddecl.h:47
A barrel-like robot with 2 internal masses, which can slide on their orthogonal axes.
Definition: barrel2masses.h:67
Sphererobot3MassesConf conf
Definition: sphererobot3masses.h:85
double motor_ir_before_sensors
if true motor sensors and ir sensors are given before additional sensors
Definition: sphererobot3masses.h:56
Definition: raysensor.h:56
double sensor
Definition: types.h:29
static Sphererobot3MassesConf getDefaultConf()
default configuration.
Definition: barrel2masses.h:82
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
bool irAxis1
Definition: sphererobot3masses.h:47
double irCharacter
characteristics of sensor ( where x is the range-distance)
Definition: sphererobot3masses.h:54
bool irSide
4 IR senors to both side in y direction (collides with irAxis2)
Definition: sphererobot3masses.h:51
static Sphererobot3MassesConf getDefaultConf()
default configuration
Definition: sphererobot3masses.h:112
bool irRing
IR sensors in a ring in x,z plane (collides with irAxis1 and irAxis3)
Definition: sphererobot3masses.h:50
double pendularrange
fraction of the diameter the pendular masses can move to one side
Definition: sphererobot3masses.h:45
A spherical robot with 3 internal masses, which can slide on their orthogonal axes.
Definition: sphererobot3masses.h:72
std::list< SensorAttachment > sensors
Definition: oderobot.h:269
configuration object for the Sphererobot3Masses robot.
Definition: sphererobot3masses.h:38
bool irAxis2
Definition: sphererobot3masses.h:48
Barrel2Masses(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const Sphererobot3MassesConf &conf, const std::string &name, double transparency=0.5)
Constructor.
Definition: barrel2masses.cpp:43
OsgHandle osgHandle
Definition: oderobot.h:278
double axesShift
defines how much the axes are shifted from the center
Definition: sphererobot3masses.h:58
OdeHandle odeHandle
Definition: oderobot.h:277
double diameter
Definition: sphererobot3masses.h:40
virtual void create(const osg::Matrix &pose)
The cylinder (main body) lies on the ground, that it is rotating about the z-axis.
Definition: barrel2masses.cpp:88
double motorpowerfactor
power factor for servos w.r.t. pendularmass
Definition: sphererobot3masses.h:44
double pendularmass
Definition: sphererobot3masses.h:43
double transparency
Definition: sphererobot3masses.h:87
RaySensor * irSensorTempl
template for creation of the other ir sensors (if 0 then IRSensor(irCharacter))
Definition: sphererobot3masses.h:55
int c
Definition: hexapod.cpp:56