28 #include <selforg/inspectable.h>
36 #include <selforg/matrix.h>
47 using namespace matrix;
163 virtual void update();
171 virtual int getSensorsIntern(
double* sensors,
int sensornumber);
178 virtual void setMotorsIntern(
const double* motors,
int motornumber);
201 virtual int getSegmentsPosition(std::vector<Position> &poslist);
207 void getEndeffectorPosition(
double* position);
214 virtual void doInternalStuff(
GlobalData& globalData);
217 virtual void notifyOnChange(
const paramkey& key);
220 return objects[base];
228 return objects[hand];
231 void setDlearnTargetHack(
double* post);
232 void setDmotorTargetHack(
double* post);
246 virtual void destroy();
248 static void mycallback(
void *data, dGeomID o1, dGeomID o2);
252 double dBodyGetPositionAll ( dBodyID basis ,
int para );
253 double dGeomGetPositionAll ( dGeomID basis ,
int para );
255 void BodyCreate(
int n, dMass m, dReal x, dReal y, dReal z, dReal qx, dReal qy, dReal qz, dReal qangle);
Matrix type.
Definition: matrix.h:65
double damping
Definition: arm.h:80
double humeral_min
Definition: arm.h:72
std::vector< HingeServo * > hingeServos
Definition: arm.h:272
double upperarm_mass
Definition: arm.h:62
double shoulder_radius
Definition: arm.h:59
Data structure for accessing the ODE.
Definition: odehandle.h:44
bool useJointSensors
Definition: arm.h:85
std::string paramkey
Definition: configurable.h:85
double elevation_max
Definition: arm.h:71
double body_mass
Definition: arm.h:53
matrix::Matrix endeff
Definition: arm.h:265
Matrixd Matrix
Definition: osgforwarddecl.h:47
parts
Definition: arm.h:96
charArray paramkey
Definition: avrtypes.h:36
double joint_offset
Definition: arm.h:60
double body_height
Definition: arm.h:54
double forearm_radius
Definition: arm.h:67
virtual paramkey getName() const
return the name of the object
Definition: arm.h:152
double upperarm_length
Definition: arm.h:64
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
double upperarm_radius
Definition: arm.h:63
virtual int getSensorNumberIntern()
returns number of sensors
Definition: arm.h:183
virtual Primitive * getMainPrimitive() const
the main object of the robot, which is used for position and speed tracking
Definition: arm.h:226
static ArmConf getDefaultConf()
Definition: arm.h:108
double paramval
Definition: configurable.h:88
virtual Primitive * getMainObject() const
Definition: arm.h:219
double azimuthal_max
Definition: arm.h:75
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
double humeral_max
Definition: arm.h:73
double forearm_mass
Definition: arm.h:66
double forearm_length
Definition: arm.h:68
Data structure holding all essential global information.
Definition: globaldata.h:57
double motorPower
Definition: arm.h:79
double elbow_max
Definition: arm.h:77
dSpaceID parentspace
Definition: arm.h:279
double body_depth
Definition: arm.h:56
bool created
Definition: arm.h:277
virtual ~Arm()
Definition: arm.h:150
double shoulder_mass
Definition: arm.h:58
bool withContext
Definition: arm.h:84
paramval print
Definition: arm.h:268
double elevation_min
Definition: arm.h:70
paramval factorSensors
Definition: arm.h:267
int sensorno
Definition: arm.h:274
int printed
Definition: arm.h:281
Abstract class for ODE robots.
Definition: oderobot.h:64
std::list< Sensor * > sensors
Definition: arm.h:87
virtual int getMotorNumberIntern()
returns number of motors
Definition: arm.h:191
double servoFactor
Definition: arm.h:81
double elbow_min
Definition: arm.h:76
ArmConf conf
Definition: arm.h:264
double scaleMotorElbow
Definition: arm.h:82
double body_width
Definition: arm.h:55
int motorno
Definition: arm.h:275
double azimuthal_min
Definition: arm.h:74