Abstract base class defining interfaces for the creation of a specific solver. More...
#include <solver_factory.h>
Public Member Functions | |
Eigen::MatrixXd | calculateJointVelocities (Matrix6Xd_t &jacobian_data, const Vector6d_t &in_cart_velocities, const JointStates &joint_states, boost::shared_ptr< DampingBase > &damping_method, std::set< ConstraintBase_t > &constraints) const |
SolverFactory (const TwistControllerParams ¶ms, const LimiterParams &limiter_params, TaskStackController_t &task_stack_controller) | |
~SolverFactory () | |
Private Attributes | |
boost::shared_ptr< T > | constraint_solver_ |
Abstract base class defining interfaces for the creation of a specific solver.
Definition at line 45 of file solver_factory.h.
SolverFactory< T >::SolverFactory | ( | const TwistControllerParams & | params, |
const LimiterParams & | limiter_params, | ||
TaskStackController_t & | task_stack_controller | ||
) | [inline] |
Definition at line 48 of file solver_factory.h.
SolverFactory< T >::~SolverFactory | ( | ) | [inline] |
Definition at line 55 of file solver_factory.h.
Eigen::MatrixXd SolverFactory< T >::calculateJointVelocities | ( | Matrix6Xd_t & | jacobian_data, |
const Vector6d_t & | in_cart_velocities, | ||
const JointStates & | joint_states, | ||
boost::shared_ptr< DampingBase > & | damping_method, | ||
std::set< ConstraintBase_t > & | constraints | ||
) | const [inline, virtual] |
The base calculation method to calculate joint velocities out of input velocities (cartesian space). Creates a solver according to implemented createSolver-method (in subclass). Use the specialized solve-method to calculate new joint velocities.
params | References the inv. diff. kin. solver parameters. |
jacobian_data | References the current Jacobian (matrix data only). |
in_cart_velocities | The input velocities vector (in cartesian space). |
joint_states | The joint states with history. |
damping_method | The damping method. |
Implements ISolverFactory.
Definition at line 71 of file solver_factory.h.
boost::shared_ptr<T> SolverFactory< T >::constraint_solver_ [private] |
Definition at line 85 of file solver_factory.h.