Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

omarchehab98/cozmo-explorer-touch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cozmo Explorer Touch

Cozmo-Explorer-Tool

What does it do exactly?

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.

What do you need to use it?

  1. Cozmo (http://anki.com/cozmo)
  2. A PC and a mobile device connected via USB cable
  3. The files in this repository git clone https://github.com/omarchehab98/cozmo-explorer-touch

Requirements

  • 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]'
    • Node Carbon and npm
      • In the client directory, run npm install
  • Device running iOS or Android

    • Cozmo app installed
    • Connected to computer via USB cable
    • Cozmo app is in SDK mode

Starting the server

  • In the server directory run python3 explorer_tool.py
  • In the client directory, run npm start
  • Open http://localhost:5000 in a browser

Exposing web application to the internet

  • Install and configure webserver (see sample configuration for nginx)
  • Configure your router to forward port 80 to your computer
  • Set client's dependencies.env.SERVER variable to your public ip address
    • Change it by setting the environment variable SERVER or directly from client/js/main.js

License

Forked from GrinningHermit/Cozmo-Explorer-Tool.

MIT © 2017 Omar Chehab