yuchi233 commited on
Commit
504e487
·
verified ·
1 Parent(s): a1ad979

Upload docs/primitive_collision_proxy_spec.md with huggingface_hub

Browse files
docs/primitive_collision_proxy_spec.md CHANGED
@@ -174,6 +174,7 @@ Generated MJCF files:
174
  ```text
175
  mjcf/primitive_geoms_include.xml # include inside the target body
176
  mjcf/primitive_collision_include.xml # standalone wrapper for preview/convenience
 
177
  ```
178
 
179
  Recommended integration:
@@ -183,6 +184,15 @@ Recommended integration:
183
  <include file="path/to/mjcf/primitive_geoms_include.xml"/>
184
  ```
185
 
 
 
 
 
 
 
 
 
 
186
  ## Output files
187
 
188
  ### `proxy/primitive_collision_proxy.json`
 
174
  ```text
175
  mjcf/primitive_geoms_include.xml # include inside the target body
176
  mjcf/primitive_collision_include.xml # standalone wrapper for preview/convenience
177
+ mjcf/preview_world.xml # MuJoCo preview scene with raw visual mesh + collision boxes
178
  ```
179
 
180
  Recommended integration:
 
184
  <include file="path/to/mjcf/primitive_geoms_include.xml"/>
185
  ```
186
 
187
+ For visual debugging in MuJoCo, open:
188
+
189
+ ```text
190
+ mjcf/preview_world.xml
191
+ ```
192
+
193
+ This preview keeps the original visual mesh in gray and the primitive boxes in red.
194
+ By default, the red collision boxes are hidden. Press `C` in `scripts/open_mujoco_preview.py` to toggle them on and off.
195
+
196
  ## Output files
197
 
198
  ### `proxy/primitive_collision_proxy.json`