Robot types with implemented inverse kinematics. More...
#include <frame.h>
Public Types | |
enum | { BASE_NORMAL, BASE_GEOMETRY, BASE_COMBINED } |
enum | { FRAME_POSITION, FRAME_VELOCITY } |
Public Member Functions | |
void | addParent (CFrame *parent) |
CFrame () | |
CFrame (char *name) | |
virtual CFrame * | getBase () |
virtual char * | getBaseName () |
virtual unsigned int | getBaseType () |
virtual CFrame * | getByName (char *str) |
Returns frame associated with /a str. More... | |
virtual void * | getCopy () |
void | getDofs (std::vector< unsigned int > &dofs) |
void | getDofs (std::vector< double > &dofs_min, std::vector< double > &dofs_max) |
virtual unsigned int | getFrameType () |
virtual char * | getName () |
int | getParentId (CFrame *parent) |
std::vector< CFrame * > & | getParents () |
virtual CMatrix | getPose () |
virtual void | getPose (CMatrix &pose) |
virtual CMatrix | getRelativeToBase () |
Returns pose in the base (frame with no predecessor) frame. More... | |
virtual void | getRelativeToBase (CMatrix &mat) |
virtual double | getTime () |
virtual bool | hasName (char *str) |
virtual void | invalidate () |
virtual void | invalidateAll () |
bool | isData () |
bool | isUpdated () |
bool | isValid () |
void | lock () |
void | removeParent (CFrame *parent) |
virtual void | setBase (CFrame *base) |
virtual void | setBaseName (const char *str) |
virtual void | setBaseType (unsigned int type) |
bool | setData (bool value) |
void | setDofs (const std::vector< double > &dofs_min, const std::vector< double > &dofs_max) |
virtual void | setFrameType (unsigned int type) |
virtual void | setName (const char *str) |
virtual void | setPose (const CMatrix &pose) |
virtual void | setPoseNoInvalidation (const CMatrix &pose) |
virtual void | setRelativePose (const CMatrix &value) |
virtual void | setTime (double time) |
void | unlock () |
virtual void | update () |
Updates the frames. More... | |
virtual | ~CFrame () |
Public Attributes | |
unsigned long int | baseCounter |
unsigned long int | counter |
Protected Types | |
enum | { FRAME_X, FRAME_Y, FRAME_Z, FRAME_RX, FRAME_RY, FRAME_RZ, FRAME_DOFS } |
Protected Attributes | |
bool | _isData |
bool | _isLocked |
bool | _isUpdated |
bool | _isValid |
CFrame * | base |
(Relative) base frame (f.e. the static robot frame or the frame of the previous link in a kinematic chain) More... | |
std::string | baseName |
Name associated with frame. More... | |
int | baseType |
std::vector< CFrame * > | childs |
std::vector< double > | dofs_max |
std::vector< double > | dofs_min |
int | frameType |
std::string | name |
std::vector< CFrame * > | parents |
CMatrix | pose |
Translation and rotation relative to base frame (f.e. denavit hartenberg matrix) More... | |
CMatrix | relativePose |
double | time |
CMatrix | tmpMatrix |
Robot types with implemented inverse kinematics.
Frame in cartesian space
|
protected |
anonymous enum |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
virtual |
Reimplemented from CCopyInterface.
Reimplemented in robotLibPbD::CFrameCombination.
void robotLibPbD::CFrame::getDofs | ( | std::vector< unsigned int > & | dofs | ) |
void robotLibPbD::CFrame::getDofs | ( | std::vector< double > & | dofs_min, |
std::vector< double > & | dofs_max | ||
) |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Returns pose in the base (frame with no predecessor) frame.
Reimplemented in robotLibPbD::CFrameCombination, and robotLibPbD::CFrameReference.
|
inlinevirtual |
Reimplemented in robotLibPbD::CFrameCombination, and robotLibPbD::CFrameReference.
|
inlinevirtual |
|
virtual |
Reimplemented in robotLibPbD::CFrameCombination.
|
virtual |
Reimplemented in robotLibPbD::CFrameCombination.
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
void robotLibPbD::CFrame::setDofs | ( | const std::vector< double > & | dofs_min, |
const std::vector< double > & | dofs_max | ||
) |
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
Reimplemented in robotLibPbD::CFrameReference.
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
protected |
|
protected |
|
protected |