Difference between revisions of "MuJoCo WASM"

From Humanoid Robots Wiki
Jump to: navigation, search
(Setup guide for MuJoCo WASM)
 
(Add install process)
Line 1: Line 1:
 +
== Building ==
  
 +
=== 1. Install emscripten ===
 +
First, you need to install emscripten, which is a compiler toolchain for WebAssembly.
 +
 +
=== 2. Build the mujoco_wasm Binary ===
 +
Next, you'll build the MuJoCo WebAssembly binary.
 +
 +
==== On Linux ====
 +
<code>
 +
mkdir build
 +
cd build
 +
emcmake cmake ..
 +
make
 +
</code>

Revision as of 19:01, 19 May 2024

Building

1. Install emscripten

First, you need to install emscripten, which is a compiler toolchain for WebAssembly.

2. Build the mujoco_wasm Binary

Next, you'll build the MuJoCo WebAssembly binary.

On Linux

mkdir build cd build emcmake cmake .. make