chrisjcc commited on
Commit
de77861
·
verified ·
1 Parent(s): 973d71b

Comment out code for joints etc

Browse files
Files changed (1) hide show
  1. tray_sim.py +4 -4
tray_sim.py CHANGED
@@ -178,10 +178,10 @@ def run_tray_simulation(seed=0, num_objects=N_OBJECTS, azimuth=45, elevation=-25
178
  # Enable contact visualization in the renderer to debug collisions
179
  # Check if contact points appear when the puck hits the tray. If not,
180
  # collisions are not being detected.
181
- scene_option.flags[mujoco.mjtVisFlag.mjVIS_CONTACTPOINT] = True
182
- scene_option.flags[mujoco.mjtVisFlag.mjVIS_CONTACTFORCE] = True
183
- scene_option.flags[mujoco.mjtVisFlag.mjVIS_JOINT] = True # if you want to see joint frames or anchors to understand the articulated structure.
184
- scene_option.flags[mujoco.mjtVisFlag.mjVIS_TRANSPARENT] = True # if the model uses transparent geoms and you want them shown correctly.
185
 
186
  cam = mujoco.MjvCamera()
187
  cam.type = mujoco.mjtCamera.mjCAMERA_FREE
 
178
  # Enable contact visualization in the renderer to debug collisions
179
  # Check if contact points appear when the puck hits the tray. If not,
180
  # collisions are not being detected.
181
+ #scene_option.flags[mujoco.mjtVisFlag.mjVIS_CONTACTPOINT] = True
182
+ #scene_option.flags[mujoco.mjtVisFlag.mjVIS_CONTACTFORCE] = True
183
+ #scene_option.flags[mujoco.mjtVisFlag.mjVIS_JOINT] = True # if you want to see joint frames or anchors to understand the articulated structure.
184
+ #scene_option.flags[mujoco.mjtVisFlag.mjVIS_TRANSPARENT] = True # if the model uses transparent geoms and you want them shown correctly.
185
 
186
  cam = mujoco.MjvCamera()
187
  cam.type = mujoco.mjtCamera.mjCAMERA_FREE