I'd like a Visual Studio C++ project to control the Mujoco 22_humaniods.xml example model that comes with the installation.
I have Mujoco installed on my Windows 11 computer from here:
https://github.com/google-deepmind/mujoco/releases
mujoco-3.4.0-windows-x86_64.zip
I'd like to learn how to write a C++ program to control the models. The minimal example will randomly move the joints on each model with as few lines of code as necessary. Lots of comments so I can learn how to do this with the other examples.
The deliverables will be a sample Visual Studio project, with the C++ code, and sufficient comments so I can create another project from scratch on my own.
Update:
I have since learned there are 2 C++ ways to do this (not counting Python which I hate) - via a DLL or Custom Application. I would prefer the DLL method, but am open to what is easiest. Also I would prefer to use Visual Studio instead of setting up cmake fies.
... Show more