First you have to setup python, then install python libraries. The recommended way to install python libraries is using pip.
sudo apt-get install python-pip
pip install numpy matplotlib ipython jupyter
- download and install python: https://www.python.org/download/windows/
- install pip: https://pip.pypa.io/en/latest/installing.html
- install numpy and matplotlib
python -m pip install numpy matplotlib ipython jupyter
If you are new to python, you can follow Introduction to Python. If you want a little more depth, Python Tutorial is a great place to start, We also recommend to Learn Python the Hard Way.
You can try ipython notebooks that I used in the lecture by starting ipython notebook
in this folder or [open in Colab]((https://colab.research.google.com/notebooks/welcome.ipynb).
SimSpark is a generic simulator for various multiagent simulations. It supports developing physical simulations for AI and robotics research with an open-source application framework. We use customized version which has NAO V4.
- download zip package
- extract the zip package
- execute SimSparkSPL.bat to start simspark
- download source code from https://github.com/xuyuan/SimSpark-SPL
- follow the instruction in https://gitlab.com/robocup-sim/SimSpark/wikis/home
-
start simspark
-
start a console (cmd in windows)
-
go to the software_installtion source code folder
cd software_installtion
- start sample agent:
python spark_agent.py
Now, the spark_agent is connected to simspark, and you can see a robot in the simulation, we are ready to program it.