Skip to content

tachukao/ocaml-mujoco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCaml Bindings to MuJoCo

Installation

  1. Install MuJoCo 210 to the default directory ~/.mujoco/mujoco210 from here

  2. Install GLFW3

  3. Install GLFW3 OCaml bindings

opam install glfw-ocaml
  1. Install Mujoco bindings
dune build @install
dune install

Example

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

About

OCaml bindings to MuJoCo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages