20 #include <kdl/chainfksolvervel_recursive.hpp> 49 v_temp = this->
limiters_->enforceLimits(v_in);
52 Eigen::MatrixXd qdot_out_vec;
60 for (
int i = 0; i < jac_full.
columns(); i++)
62 qdot_out_full(i) = qdot_out_vec(i);
68 qdot_out_full = this->
limiters_->enforceLimits(qdot_out_full, joint_states_full.
current_q_);
80 for (
int i = 0; i < jac_chain.columns(); i++)
82 qdot_out(i) = qdot_out_full(i);
102 ROS_ERROR(
"Failed to reset IDK constraint solver after dynamic_reconfigure.");
ConstraintSolverFactory constraint_solver_factory_
Eigen::Matrix< double, 6, 1 > Vector6d_t
Container for limiters, implementing interface methods.
TaskStackController_t task_stack_controller_
int8_t resetAll(const TwistControllerParams ¶ms, const LimiterParams &limiter_params)
KDL::ChainJntToJacSolver jnt2jac_
LimiterParams limiter_params_
unsigned int columns() const
virtual int CartToJnt(const JointStates &joint_states, const KDL::Twist &v_in, KDL::JntArray &qdot_out)
void twistKDLToEigen(const KDL::Twist &k, Eigen::Matrix< double, 6, 1 > &e)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Matrix< double, 6, Eigen::Dynamic > data
int8_t calculateJointVelocities(Matrix6Xd_t &jacobian_data, const Vector6d_t &in_cart_velocities, const JointStates &joint_states, Eigen::MatrixXd &out_jnt_velocities)
boost::shared_ptr< KinematicExtensionBase > kinematic_extension_
static KinematicExtensionBase * createKinematicExtension(const TwistControllerParams ¶ms)
bool resetAll(TwistControllerParams params)
unsigned int getNrOfJoints() const
boost::shared_ptr< LimiterContainer > limiters_
virtual int JntToJac(const JntArray &q_in, Jacobian &jac, int seg_nr=-1)
TwistControllerParams params_
LimiterParams limiter_params