Skip to content

Commit

Permalink
bugfix. Keys were renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-bachhuber committed Feb 18, 2023
1 parent 6b47b4d commit 25e13dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cc/env/loop_observer/angles_observer.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self) -> None:
self._hinge_1, self._hinge_2 = [], [] # for pytype ..

def _get_hinges_and_append(self, env):
hinge1, hinge2 = env.physics.named.data.qpos[["hinge_1", "hinge_2"]]
hinge1, hinge2 = env.physics.named.data.qpos[["cart_hinge_1", "cart_hinge_2"]]
self._hinge_1.append(hinge1)
self._hinge_2.append(hinge2)

Expand Down

0 comments on commit 25e13dd

Please sign in to comment.