Materials
- Cozmo Robot
- Computer
- Phone Charger
- SDK
- Python
- Cozmo App
Python Libraries
- NumPy
- OpenCV
- Math
- Random
- Cozmo
- Cozmo[camera]
- MatPlotLib
- (Optional) IPyKernel
Setup
-
Install Python, we found 3.7.5 works well using a
Miniconda
kernel on
Visual Studio Code
following
this guide.
We liked using Jupyter Notebooks for this on VS Code.
-
You can create a conda environment by running this command:
conda create -n cozmo python=3.7 pip ipykernel
in the miniconda terminal you get when you install miniconda.
-
Download the Cozmo SDK from
this link.
To install the SDK you need to run the following command:
python setup.py install
from the SDK directory.
-
If you are using an iPhone install
iTunes or
libusbmuxd
to accuire the proper drivers to interact with the app. We used iTunes
because it is much easier to install.
-
If you are using an Android phone install
Android Debug Bridge (adb).
-
There are plenty of tutorials and basic examples in the Cozmo SDK that
you can play with to make sure you installed it properly.