Skip to content

Enable naccdmax for _make_data_warp#3096

Open
hartikainen wants to merge 1 commit intogoogle-deepmind:mainfrom
hartikainen:naccdmax
Open

Enable naccdmax for _make_data_warp#3096
hartikainen wants to merge 1 commit intogoogle-deepmind:mainfrom
hartikainen:naccdmax

Conversation

@hartikainen
Copy link
Contributor

We're seeing the following errors with MJX with the latest warp backend:

CCD overflow - please increase naccdmax to 69

There's currently no way to set naccdmax with mjx.make_data. This PR adds support for that.

@thowell
Copy link
Contributor

thowell commented Feb 13, 2026

@hartikainen naccdmax should be set to naconmax by default, so increasing naconmax should prevent overflow for now

@thowell thowell requested a review from btaba February 13, 2026 15:57
@hartikainen
Copy link
Contributor Author

hartikainen commented Feb 13, 2026

I think the naccdmax logic in make_data is wrong and it does not default to naconmax like the docstring suggests. I created a PR on the warp side: google-deepmind/mujoco_warp#1159.

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