Kinematic chain. More...
#include <frame.h>
Public Member Functions | |
CKinematicChain () | |
CFrame * | getByName (char *str) |
Returns frame object if frame with name str exists in the chain. | |
CDh & | getDhParameters (unsigned int id) |
CFrame * | getFrame (unsigned int id) |
CFrame * | getLastFrame () |
unsigned int | getLength () |
std::string | getName () |
void | invalidate () |
void | loadFromXml (CConfiguration &config, TiXmlElement *kinChainsNode, CFrameContainer &container) |
Transforms <CHAIN> (xml object) into kinematic chain object. | |
void | setLength (int len) |
Returns the pose of the last link in the chain (in the base frame) | |
void | setName (std::string value) |
void | update () |
Updates denavit hartenberg matrices. | |
virtual | ~CKinematicChain () |
Public Attributes | |
CDh * | dhParameters |
Array of denavit hartenberg parameters. | |
CFrame ** | frames |
Array of frames associated with every link in the chain. | |
CFrame * | lastPoseBuffer |
int | length |
Number of links in the chain. | |
double | totalArmLength |
Protected Attributes | |
std::string | name |
CMatrix | tmpMatrix |
robotLibPbD::CKinematicChain::~CKinematicChain | ( | ) | [virtual] |
CFrame * robotLibPbD::CKinematicChain::getByName | ( | char * | str | ) |
CDh & robotLibPbD::CKinematicChain::getDhParameters | ( | unsigned int | id | ) |
CFrame * robotLibPbD::CKinematicChain::getFrame | ( | unsigned int | id | ) |
unsigned int robotLibPbD::CKinematicChain::getLength | ( | ) | [inline] |
std::string robotLibPbD::CKinematicChain::getName | ( | ) | [inline] |
void robotLibPbD::CKinematicChain::invalidate | ( | ) | [inline] |
void robotLibPbD::CKinematicChain::loadFromXml | ( | CConfiguration & | config, |
TiXmlElement * | kinChainsNode, | ||
CFrameContainer & | container | ||
) |
void robotLibPbD::CKinematicChain::setLength | ( | int | len | ) |
void robotLibPbD::CKinematicChain::setName | ( | std::string | value | ) | [inline] |
void robotLibPbD::CKinematicChain::update | ( | ) | [inline] |
std::string robotLibPbD::CKinematicChain::name [protected] |
CMatrix robotLibPbD::CKinematicChain::tmpMatrix [protected] |