30 Eigen::MatrixXd root_W_WLN = W_WLN.cwiseSqrt();
31 Eigen::MatrixXd inv_root_W_WLN = root_W_WLN.inverse();
34 Eigen::MatrixXd weighted_jacobian = this->
jacobian_data_ * inv_root_W_WLN;
38 Eigen::MatrixXd qdots_out = inv_root_W_WLN * pinv * in_cart_velocities;
48 Eigen::VectorXd weighting = Eigen::VectorXd::Ones(cols);
49 return weighting.asDiagonal();
boost::shared_ptr< DampingBase > damping_
References the current Jacobian (matrix data only).
Eigen::Matrix< double, 6, 1 > Vector6d_t
Matrix6Xd_t jacobian_data_
References the limiter parameters (up-to-date according to KinematicExtension).
PInvBySVD pinv_calc_
The currently set damping method.
const TwistControllerParams & params_
Set of constraints.
virtual Eigen::MatrixXd calculate(const Eigen::MatrixXd &jacobian) const
virtual Eigen::MatrixXd calculateWeighting(const JointStates &joint_states) const
virtual Eigen::MatrixXd solve(const Vector6d_t &in_cart_velocities, const JointStates &joint_states)