With this tool you can control Cozmo from the browser. I created it so that my family and friends can control Cozmo overseas. In a nutshell, it allows you to remote control cozmo from anywhere.
- Cozmo (http://anki.com/cozmo)
- A PC and a mobile device connected via USB cable
- The files in this repository
git clone https://github.com/omarchehab98/cozmo-explorer-touch
-
Device running Windows OS, Mac OSX or Linux with an internet connection
- Cozmo SDK is setup
- Python 3 and pip
- The python module Pillow
pip3 install --user Pillow
- The python module Flask
pip3 install --user flask
- The python module Flask Socket-IO
pip3 install --user flask-socketio
- The python module Cozmo with camera support
pip3 install --user 'cozmo[camera]'
- The python module Pillow
- Node Carbon and npm
- In the
client
directory, runnpm install
- In the
-
Device running iOS or Android
- Cozmo app installed
- Connected to computer via USB cable
- Cozmo app is in SDK mode
- In the server directory run
python3 explorer_tool.py
- In the client directory, run
npm start
- Open http://localhost:5000 in a browser
- Install and configure webserver (see sample configuration for
nginx
) - Configure your router to forward port 80 to your computer
- Set
client
'sdependencies.env.SERVER
variable to your public ip address- Change it by setting the environment variable
SERVER
or directly from client/js/main.js
- Change it by setting the environment variable
Forked from GrinningHermit/Cozmo-Explorer-Tool.
MIT © 2017 Omar Chehab