Skip to content

Commit ecbb610

Browse files
committed
minor format
1 parent 05e4de8 commit ecbb610

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

tests/test_rigid_physics.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2828,22 +2828,7 @@ def test_api_domain_randomization(show_viewer, tol):
28282828

28292829
robot.set_dofs_kp(np.full(12, 20), motors_dof_idx)
28302830
robot.set_dofs_kv(np.full(12, 1), motors_dof_idx)
2831-
default_dof_pos = np.array(
2832-
[
2833-
0.0,
2834-
0.8,
2835-
-1.5,
2836-
0.0,
2837-
0.8,
2838-
-1.5,
2839-
0.0,
2840-
1.0,
2841-
-1.5,
2842-
0.0,
2843-
1.0,
2844-
-1.5,
2845-
]
2846-
)
2831+
default_dof_pos = np.array([0.0, 0.8, -1.5, 0.0, 0.8, -1.5, 0.0, 1.0, -1.5, 0.0, 1.0, -1.5])
28472832
# padding to n_env x n_dofs
28482833
default_dof_pos = np.tile(default_dof_pos, (n_envs, 1))
28492834
robot.control_dofs_position(default_dof_pos, motors_dof_idx)

0 commit comments

Comments
 (0)