27 #include <ode_robots/oderobot.h>
28 #include <ode_robots/gripper.h>
144 const std::string&
name);
SkelParts
Definition: skeleton.h:128
bool useGripper
hands have a gripper: use getGrippers and add grippables
Definition: skeleton.h:98
double hipJointLimit
angle range for legs
Definition: skeleton.h:54
bool onlyPrimaryFunctions
true: only leg and arm are controlable, false: all joints
Definition: skeleton.h:94
double massfactor
mass factor for all parts
Definition: skeleton.h:42
bool useBackJoint
whether to use the joint in the back
Definition: skeleton.h:103
std::string headTexture
Definition: skeleton.h:115
double kneeJointLimit
angle range for knees
Definition: skeleton.h:65
double gripDuration
time the gripper can grasp
Definition: skeleton.h:99
virtual int getSensorNumberIntern()
overload this function in a subclass to specific the number of custom sensors
Definition: skeleton.cpp:235
virtual Position getTrunkPosition()
returns the position of the trunk
Definition: skeleton.cpp:1124
double dampingFactor
scale factor for damping of the servos
Definition: skeleton.h:89
Data structure for accessing the ODE.
Definition: odehandle.h:44
static SkeletonConf getDefaultConfVelServos()
Definition: skeleton.h:235
double ankleVelocity
velocity in the ankles
Definition: skeleton.h:68
double elbowJointLimit
angle range of elbow joint
Definition: skeleton.h:77
Definition: skeleton.h:128
double hipVelocity
velocity of hip joint servos
Definition: skeleton.h:53
virtual ~Skeleton()
Definition: skeleton.h:146
double elbowPower
maximal force for at elbow (shoulder) joint motors
Definition: skeleton.h:74
virtual Primitive * getMainPrimitive() const
the main object of the robot, which is used for position and speed tracking
Definition: skeleton.h:270
Definition: skeleton.h:130
double powerFactor
scale factor for maximal forces of the servos
Definition: skeleton.h:87
bool onlyMainParameters
true: only a few parameters are exported for configuration
Definition: skeleton.h:95
Matrixd Matrix
Definition: osgforwarddecl.h:47
Definition: skeleton.h:134
charArray paramkey
Definition: avrtypes.h:36
double armPower
maximal force for at arm (shoulder) joint motors
Definition: skeleton.h:70
std::vector< TwoAxisServo * > backservos2
Definition: skeleton.h:309
double hip2Power
maximal force for at hip2 (sagital joint axis) joint motors
Definition: skeleton.h:55
Definition: skeleton.h:132
double relForce
factor between arm force and rest
Definition: skeleton.h:88
double sensor
Definition: types.h:29
virtual void notifyOnChange(const paramkey &key)
Is called when a parameter was changes via setParam().
Definition: skeleton.cpp:1025
virtual int getSensorsIntern(sensor *sensors, int sensornumber)
overload this function in a subclass to do specific sensor handling, not needed for generic sensors ...
Definition: skeleton.cpp:268
iparamkey name
Definition: inspectable.h:251
virtual void create(const osg::Matrix &pose)
creates vehicle at desired pose
Definition: skeleton.cpp:341
double armDamping
damping of arm ((shoulder)) joint servos
Definition: skeleton.h:71
double jointLimitFactor
factor between servo range (XXXJointLimit, see above) and physical joint limit
Definition: skeleton.h:91
double relArmmass
relative overall arm mass
Definition: skeleton.h:48
double neckPower
spring strength in the neck
Definition: skeleton.h:58
Definition: skeleton.h:128
should look like a humanoid
Definition: skeleton.h:125
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
std::vector< Gripper * > GripperList
Definition: gripper.h:116
Definition: skeleton.h:131
Definition: skeleton.h:131
OdeHandle ignoreColSpace
Definition: skeleton.h:297
double relLegmass
relative overall leg mass
Definition: skeleton.h:47
double size
scaling factor for robot (height)
Definition: skeleton.h:41
double neckVelocity
velocity in the neck
Definition: skeleton.h:60
double elbowVelocity
velocity of elbow ((shoulder)) joint servos
Definition: skeleton.h:76
double kneeDamping
damping in the knees
Definition: skeleton.h:63
std::string trouserColor
color of upper legs and hands (trousers-color)
Definition: skeleton.h:112
Definition: skeleton.h:130
double kneePower
spring strength in the knees
Definition: skeleton.h:62
Definition: position.h:30
std::vector< TwoAxisServo * > headservos
Definition: skeleton.h:305
double pelvisPower
maximal force for at pelvis joint motor
Definition: skeleton.h:78
bool created
Definition: skeleton.h:295
Definition: skeleton.h:133
Definition: skeleton.h:131
double anklePower
spring strength in the ankles
Definition: skeleton.h:66
double kneeVelocity
velocity in the knees
Definition: skeleton.h:64
std::vector< OneAxisServo * > backservos
Definition: skeleton.h:308
std::string bodyColor
color of skin
Definition: skeleton.h:110
Definition: skeleton.h:130
bool backSideBend
whether to use a joint to bend the back sideways
Definition: skeleton.h:104
virtual void destroy()
destroys vehicle and space
Definition: skeleton.cpp:973
double releaseDuration
time the gripper has to release before grasping again
Definition: skeleton.h:100
double ankleJointLimit
angle range for ankles
Definition: skeleton.h:69
OneAxisServo * pelvisservo
Definition: skeleton.h:307
virtual int getMotorNumberIntern()
overload this function in a subclass to specific the number of custom sensors
Definition: skeleton.cpp:150
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
double backPower
maximal force for at back joint motor
Definition: skeleton.h:82
double hipDamping
damping of hip joint servos
Definition: skeleton.h:52
double backVelocity
velocity of back joint servo
Definition: skeleton.h:84
double pelvisDamping
damping of pelvis joint servo
Definition: skeleton.h:79
std::vector< OneAxisServo * > ankleservos
Definition: skeleton.h:301
Definition: skeleton.h:128
double pelvisVelocity
velocity of pelvis joint servo
Definition: skeleton.h:80
double backJointLimit
angle range of back joint
Definition: skeleton.h:85
GripperList & getGrippers()
returns a the gripper list
Definition: skeleton.cpp:966
std::list< SensorAttachment > sensors
Definition: oderobot.h:269
Definition: skeleton.h:128
std::vector< TwoAxisServo * > hipservos
Definition: skeleton.h:299
std::vector< OneAxisServo * > kneeservos
Definition: skeleton.h:300
Interface for inspectable objects.
Definition: inspectable.h:48
double relFeetmass
relative overall feet mass
Definition: skeleton.h:49
double armVelocity
velocity of arm ((shoulder)) joint servos
Definition: skeleton.h:72
std::string trunkColor
color of upper body (pullover-color)
Definition: skeleton.h:111
double hip2Damping
damping of hip2 joint servos
Definition: skeleton.h:56
double pelvisJointLimit
angle range of pelvis joint
Definition: skeleton.h:81
Definition: skeleton.h:132
std::string bodyTexture
Definition: skeleton.h:116
std::vector< AngularMotor * > frictionmotors
Definition: skeleton.h:311
std::string trunkTexture
Definition: skeleton.h:117
static SkeletonConf getDefaultConf()
Definition: skeleton.h:148
OsgHandle osgHandle
Definition: oderobot.h:278
OdeHandle odeHandle
Definition: oderobot.h:277
double motor
Definition: types.h:30
virtual Position getHeadPosition()
returns the position of the head
Definition: skeleton.cpp:1113
int backbendindex
Definition: skeleton.h:314
double hip2JointLimit
angle range for hip joint in lateral direction
Definition: skeleton.h:57
double backDamping
damping of back joint servo
Definition: skeleton.h:83
bool irSensors
whether to use the irsensor eyes
Definition: skeleton.h:107
Abstract class for ODE robots.
Definition: oderobot.h:64
bool handsRotating
hands are attached with a ball joint
Definition: skeleton.h:97
bool useVelocityServos
if true the more stable velocity controlling servos are used
Definition: skeleton.h:45
Definition: skeleton.h:133
bool movableHead
if false then no neck movement
Definition: skeleton.h:102
Definition: skeleton.h:133
Definition: skeleton.h:132
double neckDamping
damping in the neck
Definition: skeleton.h:59
Skeleton(const OdeHandle &odeHandle, const OsgHandle &osgHandle, SkeletonConf &conf, const std::string &name)
constructor of Skeleton robot
Definition: skeleton.cpp:47
double neckJointLimit
angle range for neck
Definition: skeleton.h:61
Primitives objects
list of objects (should be populated by subclasses)
Definition: oderobot.h:265
Definition: skeleton.h:39
Definition: skeleton.h:128
double ankleDamping
damping in the ankles
Definition: skeleton.h:67
std::vector< OneAxisServo * > arm1servos
Definition: skeleton.h:303
virtual void setMotorsIntern(const motor *motors, int motornumber)
overload this function in a subclass to do specific sensor handling, not needed for generic motors ...
Definition: skeleton.cpp:162
Definition: skeleton.h:129
virtual void placeIntern(const osg::Matrix &pose)
sets the pose of the vehicle
Definition: skeleton.cpp:329
general servo motor to achieve position control
Definition: oneaxisservo.h:38
std::list< MotorAttachment > motors
Definition: oderobot.h:270
std::vector< TwoAxisServo * > armservos
Definition: skeleton.h:302
GripperList grippers
Definition: skeleton.h:313
int c
Definition: hexapod.cpp:56
double hipPower
maximal force for at hip joint motors
Definition: skeleton.h:51
std::string headColor
special color of head (typically like body)
Definition: skeleton.h:109
double elbowDamping
damping of elbow ((shoulder)) joint servos
Definition: skeleton.h:75
double armJointLimit
angle range of arm joint
Definition: skeleton.h:73
SkeletonConf conf
Definition: skeleton.h:293
bool useDensity
massfactor is interpreted as a density
Definition: skeleton.h:43