Skip to content

Commit

Permalink
fix bug in Unitree.
Browse files Browse the repository at this point in the history
  • Loading branch information
robfiras committed Oct 19, 2023
1 parent 5316a77 commit 06092ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loco_mujoco/environments/quadrupeds/unitreeA1.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ def create_dataset(self, ignore_keys=None):

if self.trajectories is not None:
rot_mat_idx_arrow = self._get_idx("dir_arrow")
trunk_euler_orientation_idx = self._get_idx(["q_trunk_rotation", "q_trunk_list", "q_trunk_tilt"])
trunk_euler_orientation_idx = self._get_idx(["q_trunk_list", "q_trunk_tilt", "q_trunk_rotation"])
trunk_euler_vel_idx = self._get_idx(["dq_trunk_tx", "dq_trunk_ty", "dq_trunk_tz",
"dq_trunk_rotation", "dq_trunk_list", "dq_trunk_tilt"])
"dq_trunk_list", "dq_trunk_tilt", "dq_trunk_rotation"])
state_callback_params = dict(rot_mat_idx_arrow=rot_mat_idx_arrow,
trunk_euler_orientation_idx=trunk_euler_orientation_idx,
trunk_euler_vel_idx=trunk_euler_vel_idx,
Expand Down

0 comments on commit 06092ac

Please sign in to comment.