#include <model3d.h>
Inheritance diagram for Model3DRigidTree:
Public Methods | |
Model3DRigidTree (string path) | |
virtual | ~Model3DRigidTree () |
virtual MSLVector | StateTransitionEquation (const MSLVector &x, const MSLVector &u) |
The state transition equation, or equations of motion, xdot=f(x,u). More... | |
virtual MSLVector | StateToConfiguration (const MSLVector &x) |
A method that converts a Model state in to a Geom configuration. More... | |
virtual double | Metric (const MSLVector &x1, const MSLVector &x2) |
A distance metric, which is Euclidean in the base class. More... | |
virtual bool | Satisfied (const MSLVector &x) |
Test whether global state-space constraints are satisfied. More... | |
Public Attributes | |
int | NumBodies |
Number of bodies in the tree. More... | |
MSLVector | DH |
The distances between joints ("a" parameters in kinematics). More... | |
vector< int > | StateIndices |
vector< int > | Parents |
A 3D kinematic tree of bodies that uses DH parameters which should be given in a DH file in the following order: Alpha(1,2...), Theta(1,2...), A(1,2...), D(1,2...). Some of these parameters change during the movement, and each of these parameters becomes a state variable. The indices of these parameters should be given in the file StateIndices (i.e., each entry corresponds to a state, and indicates which DH parameter is variable). For each body in the tree, the parent body in the tree should be indicated. This is specified in the file Parents. Each entry in Parents corresponds to a body (the i^th element is Robot i). The first entry is the root (this index is ignored because the root has no parent). The bodies in the tree must be arranged so that the indices in Parents are in nondecrreasing order (corresponding, for example to a depth-first search of the tree).
|
|
|
|
|
A distance metric, which is Euclidean in the base class.
Reimplemented from Model3DRigid. |
|
Test whether global state-space constraints are satisfied.
Reimplemented from Model. |
|
A method that converts a Model state in to a Geom configuration.
Reimplemented from Model. |
|
The state transition equation, or equations of motion, xdot=f(x,u).
Reimplemented from Model3DRigid. |
|
The distances between joints ("a" parameters in kinematics).
|
|
Number of bodies in the tree.
|
|
|
|
|