Skip to content

[Feature]: parse collision information in the MJCF #2922

Description

@TheotimeLH

🚀 Feature

It seems the collision pairs are not retrieved from MJCF xml files,
So loading from a MJCF results in an empty geom_model.collisionPairs.

Motivation

In the MJCF xml files, collisions are described using contype and conaffinity bit mask matching. The current alternative, which is to add all possible collision pairs by hand, does not leverage this.

Alternatives

Until now, it seems people add the collision pairs by hand

Additional context

No response

Checklist

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions