Skip to content

Commit 254a2b2

Browse files
committed
Fix bug
1 parent cce4472 commit 254a2b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kuroko_walking_module/src/kuroko_walking_module.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ bool WalkingModule::updateLegTargetAngles(std::vector<double>& leg_joints)
737737
// Add offset angles [rad]
738738
// Hip Roll Offset
739739
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;
740+
left_joints[0] += kuroko_kinematics_->getJointDirection("hip_l_roll") * pelvis_offset_l;
741741
// Hip Pitch Offset
742742
right_joints[1] -= kuroko_kinematics_->getJointDirection("hip_r_pitch") * hip_pitch_offset_;
743743
left_joints[1] -= kuroko_kinematics_->getJointDirection("hip_l_pitch") * hip_pitch_offset_;

0 commit comments

Comments
 (0)