Skip to content
Snippets Groups Projects
Commit 3859bd1b authored by odri's avatar odri
Browse files

Remove Jacobian block setZero for feet tracking task

parent a86c4e4a
No related branches found
No related tags found
No related merge requests found
...@@ -136,8 +136,6 @@ void InvKin::refreshAndCompute(Matrix14 const& contacts, Matrix43 const& pgoals, ...@@ -136,8 +136,6 @@ void InvKin::refreshAndCompute(Matrix14 const& contacts, Matrix43 const& pgoals,
// Once Jacobian has been inverted we can get command accelerations, velocities and positions // Once Jacobian has been inverted we can get command accelerations, velocities and positions
ddq_cmd_ = invJ_ * acc.transpose(); ddq_cmd_ = invJ_ * acc.transpose();
invJ_.block(0, 0, 18, 6).setZero();
dq_cmd_ = invJ_ * dx_r.transpose(); dq_cmd_ = invJ_ * dx_r.transpose();
q_step_ = invJ_ * x_err.transpose(); // Not a position but a step in position q_step_ = invJ_ * x_err.transpose(); // Not a position but a step in position
...@@ -194,6 +192,7 @@ void InvKin::run_InvKin(VectorN const& q, VectorN const& dq, MatrixN const& cont ...@@ -194,6 +192,7 @@ void InvKin::run_InvKin(VectorN const& q, VectorN const& dq, MatrixN const& cont
/*std::cout << "----" << std::endl; /*std::cout << "----" << std::endl;
std::cout << posf_ << std::endl; std::cout << posf_ << std::endl;
std::cout << pgoals << std::endl;
std::cout << Jf_ << std::endl; std::cout << Jf_ << std::endl;
std::cout << posb_ << std::endl; std::cout << posb_ << std::endl;
std::cout << rotb_ << std::endl; std::cout << rotb_ << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment