Giter VIP home page Giter VIP logo

cozmo-explorer-touch's Introduction

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

cozmo-explorer-touch's People

Contributors

antonolivier avatar grinninghermit avatar omarchehab98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cozmo-explorer-touch's Issues

[touch-controller] Improve Head Slider and Lift Slider

Problem

On touch devices, the sliders that control Cozmo's head and lift command imperatively. More specifically, dragging up orders the motor to rotate in a certain direction and dragging down orders the motor to rotate in the reverse direction. Since the angle of rotation is limited, it's hard for the user to precisely control the head and lift.

Potential Solution

Make the sliders declarative, meaning, the knob's position would reflect the position of the head/lift.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.