Skip to content

Commit

Permalink
improve docstring for mdcm
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTedrake committed Jan 17, 2025
1 parent 70e0608 commit da1e295
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions manipulation/make_drake_compatible_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,15 +508,19 @@ def MakeDrakeCompatibleModel(
"""Converts a model file (currently .urdf or .xml)to be compatible with the
Drake multibody parsers.
For all models:
- Converts any .stl files to obj
https://github.com/RobotLocomotion/drake/issues/19408
- Converts any .dae files to obj
https://github.com/RobotLocomotion/drake/issues/19109
- Zaps any non-uniform scale attributes
- Resizes meshes to work around any non-uniform scale attributes
https://github.com/RobotLocomotion/drake/issues/22046
In addition, for MuJoCo .xml models:
- Converts dynamic half-space collision geometries to (very) large boxes
https://github.com/RobotLocomotion/drake/issues/19263
(this is so far implemented only for mujoco .xml models)
- Truncates all rgba attributes to [0, 1].
https://github.com/RobotLocomotion/drake/issues/22445
- Applies textures specified in mujoco .xml directly to the mesh .obj files.
Any new files will be created alongside the original files (e.g. .obj files
Expand Down

0 comments on commit da1e295

Please sign in to comment.