Skip to content

[FEATURE] URDF-GLB import: support non-uint8 + 1/2-channel textures#1343

Merged
Genesis-Embodied-AI merged 8 commits intoGenesis-Embodied-AI:mainfrom
LeonLiu4:feature/urdf
Jul 3, 2025
Merged

[FEATURE] URDF-GLB import: support non-uint8 + 1/2-channel textures#1343
Genesis-Embodied-AI merged 8 commits intoGenesis-Embodied-AI:mainfrom
LeonLiu4:feature/urdf

Conversation

@LeonLiu4
Copy link
Contributor

@LeonLiu4 LeonLiu4 commented Jul 1, 2025

Auto-converts all float / bool / ≥9-bit integer images to uint8.

Expands grayscale (H,W) / (H,W,1) → RGB and L+A (H,W,2) → RGBA

Addresses: #1322

@duburcqa
Copy link
Collaborator

duburcqa commented Jul 1, 2025

Could you add a unit test to make sure it keeps working in the future? Thank you!

@YilingQiao
Copy link
Collaborator

The loaded object looks reasonable to me.

glb_urdf.mp4

YilingQiao
YilingQiao previously approved these changes Jul 2, 2025
@duburcqa
Copy link
Collaborator

duburcqa commented Jul 2, 2025

@YilingQiao Video is not loaded on my side.

@duburcqa duburcqa enabled auto-merge (squash) July 3, 2025 06:51
@Genesis-Embodied-AI Genesis-Embodied-AI merged commit ae7dcdc into Genesis-Embodied-AI:main Jul 3, 2025
13 checks passed
@LeonLiu4 LeonLiu4 deleted the feature/urdf branch July 3, 2025 17:11
@MRiabov
Copy link

MRiabov commented Jul 10, 2025

Hello. May I ask if UDRF is preferred over MJCF? it seems it gets more support (I may be wrong).

@duburcqa
Copy link
Collaborator

You are wrong. URDF and MJCF are both fully supported. It is just that URDF support was partially broken and it took a lot of effort recently to fix it, while MJCF support is working well since months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants