Skip to content

Conversation

@Tanisha-Sharma005
Copy link

Fixes testspeed output to include friction and collision details as requested in #947.

Changes:

  • Added collision pairs, contacts, and friction dim reporting
  • Consistent formatting with existing timing stats
  • Matches project style guidelines

Before: Only timing stats
After: Full simulation details

Closes google-deepmind#926

- Preallocate data.contacts before heightfield collision loop
- 50% buffer for dynamic collision counts (ncollision_in[0] * MJ_MAXCONPAIR * 2)
- Prevents OOM during batch training with large batch_size
Closes google-deepmind#947

- Add collision pairs, contacts, friction dim to testspeed summary
- Matches issue requirements: friction + collision details in final output
- Formatted consistently with existing timing stats
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.

1 participant