Skip to content

Commit 112282d

Browse files
committed
Fix force name
1 parent f528c71 commit 112282d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

biped_walking_controller/simulation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,9 +406,9 @@ def __init__(self, dt, path_to_robot_urdf: Path, model, launch_gui=True):
406406
for j in range(pb.getNumJoints(self.robot_id)):
407407
info = pb.getJointInfo(self.robot_id, j)
408408
link_name = info[12].decode("ascii")
409-
if link_name == model.get_lf_link_name():
409+
if link_name == model.get_rf_link_name():
410410
self.rf_link_id = info[0]
411-
elif link_name == model.get_rf_link_name():
411+
elif link_name == model.get_lf_link_name():
412412
self.lf_link_id = info[0]
413413

414414
# Build mapping between joints for both velocities and position

0 commit comments

Comments
 (0)