Frame in cartesian space. More...
#include <frame.h>
Public Member Functions | |
CFrameReference (CFrame *reference) | |
CFrameReference () | |
CMatrix | getRelativeToBase () |
Returns pose in the base (frame with no predecessor) frame. More... | |
void | getRelativeToBase (CMatrix &pose) |
void | setPose (const CMatrix &pose) |
Public Member Functions inherited from robotLibPbD::CFrame | |
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 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 | 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 () |
Protected Attributes | |
CFrame * | reference |
Protected Attributes inherited from robotLibPbD::CFrame | |
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 |
Additional Inherited Members | |
Public Types inherited from robotLibPbD::CFrame | |
enum | { BASE_NORMAL, BASE_GEOMETRY, BASE_COMBINED } |
enum | { FRAME_POSITION, FRAME_VELOCITY } |
Public Attributes inherited from robotLibPbD::CFrame | |
unsigned long int | baseCounter |
unsigned long int | counter |
Protected Types inherited from robotLibPbD::CFrame | |
enum | { FRAME_X, FRAME_Y, FRAME_Z, FRAME_RX, FRAME_RY, FRAME_RZ, FRAME_DOFS } |
robotLibPbD::CFrameReference::CFrameReference | ( | CFrame * | reference | ) |
|
inlinevirtual |
Returns pose in the base (frame with no predecessor) frame.
Reimplemented from robotLibPbD::CFrame.
|
inlinevirtual |
Reimplemented from robotLibPbD::CFrame.
|
inlinevirtual |
Reimplemented from robotLibPbD::CFrame.