From fac03756be6404e63eaddb28fa5ea83975309600 Mon Sep 17 00:00:00 2001 From: Benjamin Bolte Date: Mon, 1 Apr 2024 04:17:27 -0700 Subject: [PATCH] commented out print fn --- sim/scripts/drop_urdf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sim/scripts/drop_urdf.py b/sim/scripts/drop_urdf.py index d328a998..74d2efdf 100644 --- a/sim/scripts/drop_urdf.py +++ b/sim/scripts/drop_urdf.py @@ -158,6 +158,10 @@ def run_gym(gym: GymParams, mode: Literal["one_at_a_time", "all_at_once"] = "all gym.gym.draw_viewer(gym.viewer, gym.sim, True) gym.gym.sync_frame_time(gym.sim) + # Print the joint forces. + # print(gym.gym.get_actor_dof_forces(gym.env, gym.robot)) + # print(gym.gym.get_env_rigid_contact_forces(gym.env)) + # Every second, set the target effort for each joint to the reverse. curr_time = time.time()