-
Notifications
You must be signed in to change notification settings - Fork 22
How to use colab to run the rsoccer environment
JulianaDamurie edited this page Oct 28, 2021
·
1 revision
- os — Miscellaneous operating system interfaces:
import os
- Drive
from google.colab import drive
os — Miscellaneous operating system interfaces
- RSim:
!apt-get update
!apt-get install qt5-default libode-dev
!cd build
!git clone -b <branch_name> https://github.com/robocin/rSim.git
%cd rSim
!mkdir buildc
%cd buildc
!ls
!cmake ..
!make -j4
%cd ..
!pip install -e .
%cd ..
- RSoccer:
!git clone -b <branch_name> https://github.com/robocin/rSoccer.git
%cd rSoccer
!pip install -e ./
%cd ..
!apt-get install -y xvfb python-opengl > /dev/null 2>&1
!pip install gym pyvirtualdisplay > /dev/null 2>&1
-
Run your Agent
-
Execute