Public Member Functions | Public Attributes | Protected Attributes | List of all members
robotLibPbD::CKinematicChain Class Reference

Kinematic chain. More...

#include <frame.h>

Public Member Functions

 CKinematicChain ()
 
CFramegetByName (char *str)
 Returns frame object if frame with name str exists in the chain. More...
 
CDhgetDhParameters (unsigned int id)
 
CFramegetFrame (unsigned int id)
 
CFramegetLastFrame ()
 
unsigned int getLength ()
 
std::string getName ()
 
void invalidate ()
 
void loadFromXml (CConfiguration &config, TiXmlElement *kinChainsNode, CFrameContainer &container)
 Transforms <CHAIN> (xml object) into kinematic chain object. More...
 
void setLength (int len)
 Returns the pose of the last link in the chain (in the base frame) More...
 
void setName (std::string value)
 
void update ()
 Updates denavit hartenberg matrices. More...
 
virtual ~CKinematicChain ()
 

Public Attributes

CDhdhParameters
 Array of denavit hartenberg parameters. More...
 
CFrame ** frames
 Array of frames associated with every link in the chain. More...
 
CFramelastPoseBuffer
 
int length
 Number of links in the chain. More...
 
double totalArmLength
 

Protected Attributes

std::string name
 
CMatrix tmpMatrix
 

Detailed Description

Kinematic chain.

Definition at line 266 of file frame.h.

Constructor & Destructor Documentation

◆ CKinematicChain()

robotLibPbD::CKinematicChain::CKinematicChain ( )

Definition at line 822 of file frame.cpp.

◆ ~CKinematicChain()

robotLibPbD::CKinematicChain::~CKinematicChain ( )
virtual

Definition at line 843 of file frame.cpp.

Member Function Documentation

◆ getByName()

CFrame * robotLibPbD::CKinematicChain::getByName ( char *  str)

Returns frame object if frame with name str exists in the chain.

Definition at line 645 of file frame.cpp.

◆ getDhParameters()

CDh & robotLibPbD::CKinematicChain::getDhParameters ( unsigned int  id)

Definition at line 637 of file frame.cpp.

◆ getFrame()

CFrame * robotLibPbD::CKinematicChain::getFrame ( unsigned int  id)

Definition at line 629 of file frame.cpp.

◆ getLastFrame()

CFrame * robotLibPbD::CKinematicChain::getLastFrame ( )

Definition at line 621 of file frame.cpp.

◆ getLength()

unsigned int robotLibPbD::CKinematicChain::getLength ( )
inline

Definition at line 304 of file frame.h.

◆ getName()

std::string robotLibPbD::CKinematicChain::getName ( )
inline

Definition at line 273 of file frame.h.

◆ invalidate()

void robotLibPbD::CKinematicChain::invalidate ( )
inline

Definition at line 445 of file frame.h.

◆ loadFromXml()

void robotLibPbD::CKinematicChain::loadFromXml ( CConfiguration config,
TiXmlElement *  kinChainsNode,
CFrameContainer container 
)

Transforms <CHAIN> (xml object) into kinematic chain object.

Definition at line 673 of file frame.cpp.

◆ setLength()

void robotLibPbD::CKinematicChain::setLength ( int  len)

Returns the pose of the last link in the chain (in the base frame)

Sets chain length and allocates memory

Definition at line 849 of file frame.cpp.

◆ setName()

void robotLibPbD::CKinematicChain::setName ( std::string  value)
inline

Definition at line 272 of file frame.h.

◆ update()

void robotLibPbD::CKinematicChain::update ( )
inline

Updates denavit hartenberg matrices.

Definition at line 431 of file frame.h.

Member Data Documentation

◆ dhParameters

CDh* robotLibPbD::CKinematicChain::dhParameters

Array of denavit hartenberg parameters.

Definition at line 276 of file frame.h.

◆ frames

CFrame** robotLibPbD::CKinematicChain::frames

Array of frames associated with every link in the chain.

Definition at line 278 of file frame.h.

◆ lastPoseBuffer

CFrame* robotLibPbD::CKinematicChain::lastPoseBuffer

Definition at line 273 of file frame.h.

◆ length

int robotLibPbD::CKinematicChain::length

Number of links in the chain.

Definition at line 279 of file frame.h.

◆ name

std::string robotLibPbD::CKinematicChain::name
protected

Definition at line 269 of file frame.h.

◆ tmpMatrix

CMatrix robotLibPbD::CKinematicChain::tmpMatrix
protected

Definition at line 270 of file frame.h.

◆ totalArmLength

double robotLibPbD::CKinematicChain::totalArmLength

Definition at line 281 of file frame.h.


The documentation for this class was generated from the following files:


asr_kinematic_chain_optimizer
Author(s): Aumann Florian, Heller Florian, Jäkel Rainer, Wittenbeck Valerij
autogenerated on Mon Feb 28 2022 21:45:09