Skip to content

A standalone simulator for alice that behaves like a hardware robot.

Notifications You must be signed in to change notification settings

SimpleRobots/alice-simulator

Repository files navigation

Alice Simulator

A standalone simulator for alice that behaves like a hardware robot. Your code won't even notice it's a simulator. You can even use a dedicated server/pc for the simulator that is not the machine on which your ai runs.

Run

First install dependencies see below

Open a commandline in a folder where you want to have this project(-workspace).

Clone the repository.

git clone https://github.com/penguinmenac3/alice-simulator.git

Linux

In the bash go to the directory where you cloned alice-simulator.

./simulate_with_vis.sh

Windows

WARNING: It is highly recommended to use ubuntu!

Run the simulate_with_vis_python36.bat (for example by double clicking it).

simulate_with_vis_python36.bat

Or if you chose to install python27...

simulate_with_vis_python27.bat

Install Dependencies (Ubuntu)

Update and upgrade your system.

sudo apt-get update
sudo apt-get upgrade

Install git, python, pip and python-dev.

sudo apt-get install git python python-pip python-dev libopencv-dev python-opencv
pip install pillow scipy

If the pip install fails you may need to rerun it using sudo.

Install Dependencies (Windows)

WARNING: It is highly recommended to use ubuntu!

Download and install the most recent version of anaconda python37 for windows. (Python27 works too.)

https://www.continuum.io/downloads#windows

Download and install git.

https://git-scm.com/

Download opencv for python and copy the whl into the home folder.

python27 If the link is broken, search for something like "opencv_python‑3.1.0‑cp27‑cp27m‑win_amd64.whl" on that site.

python36 If the link is broken, search for something like "opencv_python-3.3.0+contrib-cp36-cp36m-win_amd64.whl" on that site.

If the files have different names than those above by now, you need to rename them to match the names above (since the installer depends on those names).

Now install all the dependencies automatically.

install_python36.bat

If you want to stick with python27 for some reason use this instead.

install_python27.bat

About

A standalone simulator for alice that behaves like a hardware robot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published