Blender V2.61 - r43446
|
#include <WSDLSSolver.hpp>
Public Member Functions | |
WSDLSSolver () | |
virtual | ~WSDLSSolver () |
virtual bool | init (unsigned int _nq, unsigned int _nc, const std::vector< bool > &gc) |
virtual bool | solve (const e_matrix &A, const e_vector &Wy, const e_vector &ydot, const e_matrix &Wq, e_vector &qdot, e_scalar &nlcoef) |
virtual void | setParam (SolverParam param, double value) |
Definition at line 15 of file WSDLSSolver.hpp.
iTaSC::WSDLSSolver::WSDLSSolver | ( | ) |
iTaSC::WSDLSSolver::~WSDLSSolver | ( | ) | [virtual] |
Definition at line 26 of file WSDLSSolver.cpp.
bool iTaSC::WSDLSSolver::init | ( | unsigned int | _nq, |
unsigned int | _nc, | ||
const std::vector< bool > & | gc | ||
) | [virtual] |
Implements iTaSC::Solver.
Definition at line 29 of file WSDLSSolver.cpp.
References e_zero_matrix, e_zero_vector, max, and min.
virtual void iTaSC::WSDLSSolver::setParam | ( | SolverParam | param, |
double | value | ||
) | [inline, virtual] |
Implements iTaSC::Solver.
Definition at line 29 of file WSDLSSolver.hpp.
References iTaSC::Solver::DLS_QMAX.
bool iTaSC::WSDLSSolver::solve | ( | const e_matrix & | A, |
const e_vector & | Wy, | ||
const e_vector & | ydot, | ||
const e_matrix & | Wq, | ||
e_vector & | qdot, | ||
e_scalar & | nlcoef | ||
) | [virtual] |
Implements iTaSC::Solver.
Definition at line 58 of file WSDLSSolver.cpp.
References e_scalar, KDL::epsilon, fabs(), i, M, N, norm(), sqrt(), and KDL::svd_eigen_HH().