KDL
1.3.0
|
This abstract class encapsulates a solver for the forward position kinematics for a KDL::Chain. More...
#include <src/chainfksolver.hpp>
Public Types | |
enum | { E_DEGRADED = +1, E_NOERROR = 0, E_NO_CONVERGE = -1, E_UNDEFINED = -2 } |
Public Member Functions | |
virtual int | JntToCart (const JntArray &q_in, Frame &p_out, int segmentNr=-1)=0 |
Calculate forward position kinematics for a KDL::Chain, from joint coordinates to cartesian pose. More... | |
virtual | ~ChainFkSolverPos () |
virtual int | getError () const |
Return the latest error. More... | |
virtual const char * | strError (const int error) const |
Return a description of the latest error. More... | |
Protected Attributes | |
int | error |
Latest error, initialized to E_NOERROR in constructor. More... | |
This abstract class encapsulates a solver for the forward position kinematics for a KDL::Chain.
|
inherited |
|
inlinevirtual |
|
inlinevirtualinherited |
Return the latest error.
References KDL::SolverI::error.
|
pure virtual |
Calculate forward position kinematics for a KDL::Chain, from joint coordinates to cartesian pose.
q_in | input joint coordinates |
p_out | reference to output cartesian pose |
Implemented in KDL::ChainFkSolverPos_recursive.
Referenced by KDL::ChainIkSolverPos_NR_JL::CartToJnt(), and KDL::ChainIkSolverPos_NR::CartToJnt().
|
inlinevirtualinherited |
Return a description of the latest error.
Reimplemented in KDL::ChainIkSolverVel_wdls, KDL::ChainIkSolverVel_pinv, KDL::ChainIkSolverPos_NR, and KDL::ChainJntToJacSolver.
References KDL::SolverI::E_NO_CONVERGE, and KDL::SolverI::E_NOERROR.
Referenced by KDL::ChainJntToJacSolver::strError(), KDL::ChainIkSolverPos_NR::strError(), KDL::ChainIkSolverVel_pinv::strError(), and KDL::ChainIkSolverVel_wdls::strError().
|
protectedinherited |
Latest error, initialized to E_NOERROR in constructor.
Referenced by KDL::ChainIkSolverPos_NR::CartToJnt(), KDL::ChainIkSolverVel_pinv::CartToJnt(), KDL::ChainIkSolverVel_wdls::CartToJnt(), KDL::SolverI::getError(), KDL::ChainIkSolverVel_pinv::getSVDResult(), KDL::ChainIkSolverVel_wdls::getSVDResult(), and KDL::ChainJntToJacSolver::JntToJac().