First, download pre-compiled Unity binary from this link if you haven't already and extract files to furniture
directory.
$ python -m demo_manual --unity True
Now that we’ve installed the dependencies, we can first see if the environment is working. A window should pop up, and you can use the WASDQE keys to move the robot arm around. Refer to the documentation for detailed controls. You can skip the next two sections if you don't care about testing the Unity editor or the MuJoCo viewer.
For developmental purposes, we recommend installing the Unity Editor to visualize and inspect the Unity scene during runtime. Install Unity Hub, a software for managing Unity versions, sign up for an account, and then install the 2018.3.14f1 version.
- Open the Unity project
furniture-unity
under this repository. - Double click
All
scene in theScenes
directory in the Project view. - Click the play button in the Unity editor.
- Run the python command with
unity
andunity_editor
set toTrue
.
$ python -m demo --unity True --unity_editor True
- In the Game view of the Unity Editor, try pressing WASDQE to move around.