-
Install MuJoCo 210 to the default directory
~/.mujoco/mujoco210
from here -
Install GLFW3
-
Install GLFW3 OCaml bindings
opam install glfw-ocaml
- Install Mujoco bindings
dune build @install
dune install
dune exec ./examples/basic.exe -- -xml model/rodent.xml
dune exec ./examples/basic.exe -- -xml model/humanoid.xml
dune exec ./examples/random_policy.exe -- -xml model/ant.xml -record #record video
dune exec ./examples/random_policy.exe -- -xml model/ant.xml # visualize only