Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
davidegorbani committed Aug 22, 2024
1 parent 33588ab commit b973e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IK/src/InverseKinematics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ bool HumanIK::updateGravityTask(const int node, const manif::SO3d& I_R_IMU)
// W_R_link = W_R_WIMU * WIMU_R_IMU * IMU_R_link
I_R_link = m_GravityTasks[node].calibrationMatrix * I_R_IMU * m_GravityTasks[node].IMU_R_link;

// set the set point of the gravity task choosing the z direction of the W_R_link rotation
// set the set point of the gravity task choosing the z direction of the link_R_W rotation
// matrix
return m_GravityTasks[node].task->setSetPoint((I_R_link.rotation().transpose().rightCols(1)));
}
Expand Down

0 comments on commit b973e38

Please sign in to comment.