Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic reallocation of mjData buffer #8

Closed
saran-t opened this issue Oct 18, 2021 · 0 comments
Closed

Automatic reallocation of mjData buffer #8

saran-t opened this issue Oct 18, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@saran-t
Copy link
Member

saran-t commented Oct 18, 2021

MuJoCo is designed to not dynamically allocate any memory at runtime, which is great for e.g. embedded applications. However, in many higher-level use cases, it is desirable to have a mechanism that would allow the mjData buffer to grow dynamically when full, rather than triggering a memory error.

In terms of implementation detail, this is possibly best done as a new C++ API that wraps the existing C API.

@saran-t saran-t added the enhancement New feature or request label Oct 18, 2021
@yuvaltassa yuvaltassa closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants