MuJoCo Version
Requirements
- MuJoCo 3.3.2 downloaded and expanded as it is (don't rename or partially move the files)
MUJOCO_DIRenvironment variable set to the path of the MuJoCo directory (e.g.$HOME/.mujoco/mujoco-3.3.2)
Note & Tips
-
Example commands to download & expand MuJoCo 3.3.2:
Replace
<YOUR OPTION>depending on your system. -
One way to setup is to install MuJoCo to a default standard path like
/usr/local/lib/(or a folder in PATH on Windows), then if needed create symlink tomujoco-3.3.2/lib/libmujoco.sothere, and insert to your shell config file:# example on Linux with /usr/local/lib/Or if you'd like to avoid to install MuJoCo to such a system directory:
# example on Linux with $HOME/.mujoco/ -
Depending on your setting, be sure to specify
$MUJOCO_DIR/libas shared library path when executing your app (for exampleLD_LIBRARY_PATH=$MUJOCO_DIR/lib cargo runon Linux)
Usage
Cargo.toml
[]
= "0.1.0"
src/main.rs
See the examples directory for working examples.
License
rusty_mujoco is licensed under MIT LICENSE.