Skip to content
New issue

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

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

Already on GitHub? # to your account

Wrap the specific functions that expect arrays with the corresponding Julia type #50

Closed
JamieMair opened this issue Aug 28, 2023 · 2 comments · Fixed by #87
Closed

Wrap the specific functions that expect arrays with the corresponding Julia type #50

JamieMair opened this issue Aug 28, 2023 · 2 comments · Fixed by #87
Labels
enhancement New feature or request

Comments

@JamieMair
Copy link
Owner

Create autogenerated code which creates a specialised function call for each mj_ function that takes in a pointer to an array. This will allow users to benefit from Julia's built-in array support. It would also remove the need for users to keep track of array sizes.

@JamieMair JamieMair added the enhancement New feature or request label Aug 28, 2023
@JamieMair JamieMair added this to the initial-beta milestone Aug 28, 2023
@JamieMair
Copy link
Owner Author

This will likely require knowing exactly what inputs to use for all the functions - for now, we will document how to create and use row-major arrays to be passed into the mujoco functions.

@JamieMair
Copy link
Owner Author

Make sure the optional types in the method signature are obvious

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant