Skip to content

Commit

Permalink
fix object position retrieval from environment using "cube_pos" naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
perezjln committed Aug 13, 2024
1 parent 26eacbb commit cc8cc0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lerobotdataset_save.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def process_args():

state = torch.tensor(
np.concatenate(
[np.array(obs_replay["arm_qpos"]), np.array(obs_replay["arm_qvel"]), np.array(obs_replay["object_qpos"])],
[np.array(obs_replay["arm_qpos"]), np.array(obs_replay["arm_qvel"]), np.array(obs_replay["cube_pos"])],
axis=1,
)
)
Expand Down

0 comments on commit cc8cc0d

Please sign in to comment.