We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cce4472 commit 254a2b2Copy full SHA for 254a2b2
kuroko_walking_module/src/kuroko_walking_module.cpp
@@ -737,7 +737,7 @@ bool WalkingModule::updateLegTargetAngles(std::vector<double>& leg_joints)
737
// Add offset angles [rad]
738
// Hip Roll Offset
739
right_joints[0] += kuroko_kinematics_->getJointDirection("hip_r_roll") * pelvis_offset_r;
740
- left_joints[0] += kuroko_kinematics_->getJointDirection("hip_l_roll") * pelvis_offset_r;
+ left_joints[0] += kuroko_kinematics_->getJointDirection("hip_l_roll") * pelvis_offset_l;
741
// Hip Pitch Offset
742
right_joints[1] -= kuroko_kinematics_->getJointDirection("hip_r_pitch") * hip_pitch_offset_;
743
left_joints[1] -= kuroko_kinematics_->getJointDirection("hip_l_pitch") * hip_pitch_offset_;
0 commit comments