Skip to content

Commit

Permalink
Some debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Nov 11, 2023
1 parent b1ef448 commit e8b3d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omnigibson/examples/object_states/overlaid_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def main(random_selection=False, headless=False, short_exec=False):
print("\nTry dragging cloth around with CTRL + Left-Click to see the Overlaid state change:\n")

while steps != max_steps:
print(f"Overlaid {carpet.states[Overlaid].get_value(breakfast_table)} ", end="\r")
print(f"Overlaid {carpet.states[Overlaid].get_value(breakfast_table)}. Avg keypoint pos {np.mean(carpet.root_link.keypoint_particle_positions, axis=0)} ", end="\r")
env.step(np.array([]))

# Shut down env at the end
Expand Down

0 comments on commit e8b3d65

Please sign in to comment.