#include <robot.h>
Inheritance diagram for CKinematicChain:

Public Member Functions | |
| CKinematicChain () | |
| ~CKinematicChain () | |
| void | update () |
| Updates denavit hartenberg matrices. | |
| CFrame * | getByName (char *str) |
| Returns frame object if frame with name str exists in the chain. | |
| void | getPose (CMatrix &result) |
| Returns the pose of the last link in the chain (in the base frame). | |
| void | setLength (int len) |
| Sets chain length and allocates memory. | |
| void | loadFromXml (CRobot *robot, TiXmlElement *kinChainsNode) |
| Transforms <CHAIN> (xml object) into kinematic chain object. | |
Public Attributes | |
| CDh * | dhParameters |
| Array of denavit hartenberg parameters. | |
| CFrame ** | frames |
| Array of frames associated with every link in the chain. | |
| int | length |
| Number of links in the chain. | |
| CKinematicChain::CKinematicChain | ( | ) |
| CKinematicChain::~CKinematicChain | ( | ) |
| void CKinematicChain::update | ( | ) | [virtual] |
| CFrame * CKinematicChain::getByName | ( | char * | str | ) | [virtual] |
| void CKinematicChain::getPose | ( | CMatrix & | result | ) |
Returns the pose of the last link in the chain (in the base frame).
| void CKinematicChain::setLength | ( | int | len | ) |
Sets chain length and allocates memory.
| void CKinematicChain::loadFromXml | ( | CRobot * | robot, | |
| TiXmlElement * | kinChainsNode | |||
| ) |
Transforms <CHAIN> (xml object) into kinematic chain object.
Array of denavit hartenberg parameters.
Array of frames associated with every link in the chain.
Number of links in the chain.
1.5.2