Represents a mechanism composed of links (rigid bodies) connected by joints.
Represents a mechanism composed of links (rigid bodies) connected by joints. A mechanism can compute the forward dynamics, forward kinematics, and differential kinematics (Jacobian) for a connected set of links and joints. The most simple mechanism is a single rigid body; a slightly more complex mechanism would have a series of rigid bodies connected by joints. It is also possible to have branching mechanisms whose graph of links and joints is a tree, and loops can be created from the tree by the addition of constraints.Creating mechanisms While one could create a mechanism by manually creating links and joints and then adding them to an empty mechanism, it is easier to create an assembly from parts, and then create the mechanism from the assembly through assembly::connectParts(). This will call all the necessary initialization functions and tends to be simpler in general.
Simulating mechanisms After creating a mechanism, you must add it to a dynamicSystem using dynamicSystem::addMechanism() before you can simulation the mechanism's motion. The dynamic system's stepForward() method can then be used to compute the motion of one or more mechanisms over a period of time. Influences, timer, and other components can be added the dynamicSystem as well, allowing complex controllers and physical phenomena to be simulated.
Multiple mechanisms with constraints When constraints between mechanisms are created, one mechanism becomes a parent mechanism and the others become children. The parent mechanism handles the constraint calculations and computation of acceleration for the entire system, since the constraints cause interactions between the mechanisms. This process is mostly transparent to the user.
Alphabetic index HTML hierarchy of classes or Java