#include <Joint.h>
Public Types | |
enum | actuationType { revolute, prismatic, sphericalWrist } |
Public Member Functions | |
Joint () | |
Joint (const Joint &v) | |
Joint (PType o, PType z, PType x, int t) | |
Joint (PType o, PType z, PType x, int t, std::vector< int > cf) | |
~Joint () | |
void | setDefault () |
virtual std::vector< int > & | CFIdTag () |
void | setId (int v) |
virtual void | Restart (std::ifstream &ifs, int &pos, double &t, double &dt) |
virtual void | Checkpointing (std::ofstream &ofs) |
virtual PType | getOrigin () |
virtual void | setOrigin (PType &o) |
Protected Attributes | |
int | id |
std::vector< int > | CFidTag |
PType | origin |
PType | xaxis |
PType | yaxis |
PType | zaxis |
int | type |
int | connectionId |
int | connectionOrientation |
int | CFidTag_size |
Friends | |
class | DH_Link< DataType, dim > |
class | DH_Chain< DataType, dim > |
class | SceneBase< DataType, dim > |
class | Scene< DataType, dim > |
Container used to expresss the spatial position and orientaiton of a revolute, prosmatic, or spherical wrist joint.
These positions and orientations are in the coordinate frame of the Part or Assembly labeled by CFidTag.
Joints in a Part's coordinate frame can be related to a connection (2d:segment, 3D:facet).
enum Joint::actuationType |
References Joint< DataType, dim >::setDefault().
virtual void Joint< DataType, dim >::Checkpointing | ( | std::ofstream & | ofs | ) | [inline, virtual] |
References Joint< DataType, dim >::connectionId, Joint< DataType, dim >::connectionOrientation, Joint< DataType, dim >::origin, Joint< DataType, dim >::type, Joint< DataType, dim >::xaxis, Joint< DataType, dim >::yaxis, and Joint< DataType, dim >::zaxis.
Referenced by DH_Link< DataType, dim >::Checkpointing().
virtual PType Joint< DataType, dim >::getOrigin | ( | ) | [inline, virtual] |
References Joint< DataType, dim >::origin.
virtual void Joint< DataType, dim >::Restart | ( | std::ifstream & | ifs, | |
int & | pos, | |||
double & | t, | |||
double & | dt | |||
) | [inline, virtual] |
References Joint< DataType, dim >::connectionId, Joint< DataType, dim >::connectionOrientation, Joint< DataType, dim >::origin, Joint< DataType, dim >::type, Joint< DataType, dim >::xaxis, Joint< DataType, dim >::yaxis, and Joint< DataType, dim >::zaxis.
Referenced by DH_Link< DataType, dim >::Restart().
References Joint< DataType, dim >::CFidTag, Joint< DataType, dim >::connectionId, Joint< DataType, dim >::connectionOrientation, Joint< DataType, dim >::origin, Joint< DataType, dim >::type, Joint< DataType, dim >::xaxis, Joint< DataType, dim >::yaxis, and Joint< DataType, dim >::zaxis.
Referenced by Joint< DataType, dim >::Joint().
virtual void Joint< DataType, dim >::setOrigin | ( | PType & | o | ) | [inline, virtual] |
References Joint< DataType, dim >::origin.
A std::vector of integers (+ for assemblies, - for parts) for the assemblies from base assembly to a part or assembly. CFidTag[ ] is the index number of the Assembly in the subAssemblyList of Assembly[]. idTag[] is the index number of the base Assembly in the Scene's assemblyList. Assembly index
Referenced by Joint< DataType, dim >::CFIdTag(), Joint< DataType, dim >::Joint(), and Joint< DataType, dim >::setDefault().
int Joint< DataType, dim >::CFidTag_size [protected] |
int Joint< DataType, dim >::connectionId [protected] |
int Joint< DataType, dim >::connectionOrientation [protected] |
index number in Scene jointList
Referenced by DH_Chain< DataType, dim >::AddJoint(), SceneBase< DataType, 3 >::GetCoordFrame(), and DH_Link< DataType, dim >::print().
Referenced by DH_Link< DataType, dim >::actuate(), DH_Link< DataType, dim >::calcDenavitHartenbergMat(), Joint< DataType, dim >::Checkpointing(), DH_Link< DataType, dim >::DH_Link(), Joint< DataType, dim >::Joint(), DH_Link< DataType, dim >::print(), Joint< DataType, dim >::Restart(), Joint< DataType, dim >::setDefault(), and DH_Link< DataType, dim >::setJacobian().