Institut de Robòtica i Informàtica Industrial
KRD Group

The CuikSuite Project

Tmechanism Struct Reference

A mechanism description. More...

#include <mechanism.h>

Collaboration diagram for Tmechanism:

Data Fields

Tvector joints
Tvector links
unsigned int nbodies
double maxCoord

Detailed Description

Description of a mechanism composed by links (i.e., rigid parts composed by convex sub-parts) and joints connecting this links. We assume the mechanism is fully connected (i.e., there are not links not-connected to the ground link). Note that, thanks to the use of the FREE_JOINT, several independent sub-mechanisms can be seen as a single connected mechanism.

See also:
mechanism.h, mechanism.c.

Definition at line 51 of file mechanism.h.


Field Documentation

Set of relations (revolutions/sliding/...) between links.

Definition at line 52 of file mechanism.h.

Referenced by AddJoint2Mechanism(), DeleteMechanism(), GetMechanismJoint(), GetMechanismNJoints(), and InitMechanism().

Set of rigid parts of a mechanisms. Each link is composed by one or more convex parts.

Definition at line 53 of file mechanism.h.

Referenced by AddLink2Mechanism(), DeleteMechanism(), GetMechanismLink(), GetMechanismNLinks(), and InitMechanism().

unsigned int Tmechanism::nbodies

The number of convex parts added over all links.

Definition at line 56 of file mechanism.h.

Referenced by AddBody2Mechanism(), GetMechanismNBodies(), and InitMechanism().

Sum of the maximum coordinate values used in all the links and joints of the mechanism.

Definition at line 57 of file mechanism.h.

Referenced by AddBody2Mechanism(), AddJoint2Mechanism(), AddLink2Mechanism(), GetMechanismMaxCoordinate(), and InitMechanism().


The documentation for this struct was generated from the following file: