28 #include <selforg/configurable.h>
198 virtual void destroy();
200 static void mycallback(
void *data, dGeomID o1, dGeomID o2);
Class for a bank (collection) of ray sensors.
Definition: raysensorbank.h:36
Joint * index_ct
Definition: hand.h:251
virtual void sense(GlobalData &globalData) override
this function is called each controlstep before control.
Definition: hand.cpp:114
Data structure for accessing the ODE.
Definition: odehandle.h:44
double velocity
Definition: hand.h:61
Joint * index_bc
Definition: hand.h:251
paramval factorForce
Definition: hand.h:278
dSpaceID hand_space
space containing the hand
Definition: hand.h:235
virtual Primitive * getMainPrimitive() const
Returns the palm as the main object of the robot, which is used for position and speed tracking...
Definition: hand.h:179
virtual void setMotorsIntern(const double *motors, int motornumber)
sets actual motorcommands
Definition: hand.cpp:337
Matrixd Matrix
Definition: osgforwarddecl.h:47
bool one_finger_as_one_motor
Definition: hand.h:68
std::vector< HingeServo * > servos
vector of the used hinge servos
Definition: hand.h:228
int motorno
Definition: hand.h:276
virtual int getSensorNumberIntern()
returns number of sensors
Definition: hand.cpp:563
charArray paramkey
Definition: avrtypes.h:36
Definition: raysensor.h:56
rayDrawMode
Definition: raysensor.h:56
double factorSensor
Definition: hand.h:66
bool irs_at_fingerbottom
Definition: hand.h:80
std::vector< IRSensor * > ir_sensors
vector containing Primitivesinfrared sensors
Definition: hand.h:213
double sensor
Definition: types.h:29
virtual void notifyOnChange(const paramkey &key)
returns a vector with the positions of all segments of the robot
Definition: hand.cpp:1350
HingeJoint * thumb_bt
Hinge Joint between thumb_buttom and thumb_top.
Definition: hand.h:248
std::vector< AngularMotor * > frictionmotors
vector of the joints used in hand
Definition: hand.h:225
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
double fingerJointBendAngle
Definition: hand.h:71
int sensorno
Definition: hand.h:275
Joint * little_ct
Definition: hand.h:260
Joint * little_bc
Definition: hand.h:260
GripMode gripmode
for handling lateral and precision grip modes
Definition: hand.h:265
GripMode
Definition: hand.h:84
Motor_type
Definition: hand.h:44
IrSensor_Type
Definition: hand.h:50
Joint * palm_index
Hinge Joint between buttom, center and top part of the index finger.
Definition: hand.h:251
int sensor_number
Definition: hand.h:277
Definition: position.h:30
Joint * ring_ct
Definition: hand.h:257
double paramval
Definition: configurable.h:88
Joint * palm_middle
Hinge Joint between buttom, center and top part of the middle finger.
Definition: hand.h:254
double velocity
Definition: hand.h:281
virtual int getMotorNumberIntern()
returns number of motors
Definition: hand.cpp:569
virtual int getSensorsIntern(sensor *sensors, int sensornumber)
returns actual sensorvalues
Definition: hand.cpp:207
virtual void update()
update the subcomponents
Definition: hand.cpp:86
Joint * middle_bc
Definition: hand.h:254
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
bool contact_joint_created
true if contact joint is created
Definition: hand.h:216
Abstract angular motor class.
Definition: angularmotor.h:36
enum RaySensor::rayDrawMode ray_draw_mode
Definition: hand.h:81
Data structure holding all essential global information.
Definition: globaldata.h:57
double irRange
Definition: hand.h:75
bool draw_joints
Definition: hand.h:69
bool fix_palm_joint
Definition: hand.h:67
std::list< SensorAttachment > sensors
Definition: oderobot.h:269
RaySensorBank irSensorBank
a collection of ir sensors
Definition: hand.h:231
Hand(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const HandConf &conf, const std::string &name)
constructor of hand
Definition: hand.cpp:35
AngularMotor * thumb_motor_joint
motorjoint for actuating the palm_thumb joint (ball joint)
Definition: hand.h:245
double power
Definition: hand.h:62
bool irs_at_fingertip
Definition: hand.h:77
HandConf conf
configuration of hand
Definition: hand.h:208
Joint * ring_bc
Definition: hand.h:257
bool show_contacts
Definition: hand.h:64
OsgHandle osgHandle
Definition: oderobot.h:278
Joint * palm_ring
Hinge Joint between buttom, center and top part of the ring finger.
Definition: hand.h:257
Joint * middle_ct
Definition: hand.h:254
OdeHandle odeHandle
Definition: oderobot.h:277
bool irs_at_fingercenter
Definition: hand.h:79
Joint * palm_little
Hinge Joint between buttom, center and top part of the little finger.
Definition: hand.h:260
static HandConf getDefaultConf()
Definition: hand.h:104
Abstract class for ODE robots.
Definition: oderobot.h:64
double servo_motor_Power
Definition: hand.h:63
Pos oldp
Definition: hand.h:273
virtual void placeIntern(const osg::Matrix &pose)
sets the pose of the vehicle
Definition: hand.cpp:110
Primitives objects
list of objects (should be populated by subclasses)
Definition: oderobot.h:265
bool showFingernails
Definition: hand.h:70
Position initial_pos
initial position of robot
Definition: hand.h:270
Artificial Hand.
Definition: hand.h:93
std::list< MotorAttachment > motors
Definition: oderobot.h:270
bool initWithOpenHand
Definition: hand.h:72
std::vector< OSGPrimitive * > osg_objects
vector containing OSGPrimitives
Definition: hand.h:211
enum Motor_type set_typ_of_motor
Definition: hand.h:65
bool ir_sensor_used
Definition: hand.h:76
bool irs_at_fingertop
Definition: hand.h:78
paramval frictionGround
Definition: hand.h:279
AngularMotor * palm_motor_joint
motorjoint for actuating the forearm_palm joint (ball joint)
Definition: hand.h:242