Skip to content

remove collision arrays from Data and utilize CollisionContext inline#1067

Open
thowell wants to merge 1 commit intogoogle-deepmind:mainfrom
thowell:collisioncontext
Open

remove collision arrays from Data and utilize CollisionContext inline#1067
thowell wants to merge 1 commit intogoogle-deepmind:mainfrom
thowell:collisioncontext

Conversation

@thowell
Copy link
Collaborator

@thowell thowell commented Jan 20, 2026

No description provided.

@thowell thowell force-pushed the collisioncontext branch 2 times, most recently from da216c6 to 80e7607 Compare February 3, 2026 13:02
Copy link
Collaborator

@erikfrey erikfrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just one nit

from mujoco_warp import DisableBit
from mujoco_warp import test_data
from mujoco_warp._src import collision_driver
from mujoco_warp._src.collision_driver import create_collision_context
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style nit: since you already imported collision_driver right above, and you only reference create_collision_context in one place, I'd just use the module reference and delete this extra import.

@thowell thowell mentioned this pull request Feb 6, 2026
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.

2 participants