第一安装vmware tools
先提取,提取完后在有绿色下载里面打开终端
输入
sudo su
sudo ./ vmware-install.pl
然后有问yes或no的都回答yes
安装完后重启桌面打开终端输入
sudo apt-get autoremove open-vm-tools
然后
sudo apt-get install open-vm-tools-desktop
重启虚拟机 至此vmware tools安装完毕
开始更换源
sudo gedit /etc/apt/sources.list
阿里源
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
然后
sudo apt update
sudo apt upgrade
安装环境
sudo apt install python3
sudo apt install python3-pip
git clone https://gitee.com/juzaizai/robocup2d-environment.git
这里还需要cmake一下在桌面终端
sudo apt install cmake
cmake -version
至此cmake完毕
cd robocup2d-environment
pip3 install -r requirements.txt 有出现报错的话要重新安装对应的库
python3 install.py
至此,环境已经完全搭建。
可以使用rcsoccersim打开
soccerwindows2打开
feidt2阵型编辑