Skip to content

[JaxSelfCollisionBarrier] Error in Jacobian calculation given empty collision_pairs #41

Description

@Tadinu

Hi,
Thanks alot for the very awesome work!

May you help confirm:
For a JaxSelfCollisionBarrier added to the problem, with certain collision_bodies and excluded_collisions but resulting in no collision_pairs as computed here
https://github.com/based-robotics/mjinx/blob/main/mjinx/components/barriers/_self_collision_barrier.py#L281
-> Then is that the jacobian cannot be computed & the default one should be returned here?
https://github.com/based-robotics/mjinx/blob/main/mjinx/components/barriers/_self_collision_barrier.py#L110

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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