Load the Mycobot 280 JetsonNano robot model in the Mujoco simulation platform
Linux Ubuntu 20.04
-
Download the binaries for MuJoCo version 2.1 for Linux: Download mujoco210
-
In the
home
directory, create a hidden folder/.mujoco
mkdir ~/.mujoco
-
Unzip the downloaded directory of
mujoco210
to the~/.mujoco/
path. 4cp mujoco210-linux-x86_64.tar.gz ~/.mujoco tar zxvf mujoco210-linux-x86_64.tar.gz
-
Add environment variables at the end of .bashrc file
gedit ~/.bashrc
export LD_LIBRARY_PATH=~/.mujoco/mujoco210/bin
source ~/.bashrc
-
Test whether the installation is successful
cd ~/.mujoco/mujoco210/bin ./simulate ../model/humanoid.xml
- Use git to clone repository address, enter the command:
git clone https://github.com/elephantrobotics/mycobot_mujoco.git
- Load model file in mujoco
cd ~/.mujoco/mujoco210/bin
./simulate ~/mycobot_mujoco/xml/mycobot_280jn_mujoco.xml