Giter Site home page Giter Site logo

scratch2romo's Introduction

Getting started

README(日本語)

https://github.com/champierre/Scratch2Romo/blob/master/README_JP.md

Requirements

Scratch2Romo requires Romo, iOS device supported by Romo and Scratch 1.4.

Install Scratch2Romo on the iOS device docked to Romo.

You can download Scratch 1.4 from Scratch web page(http://scratch.mit.edu/scratch_1.4/).

Scratch needs to be run on a PC that is on the same Wi-Fi network that iPhone/iPod Touch docked on Romo is connected to.

Enable Remote Sensor Connections

On Scratch, click "Sensing" on the top left area, then right click on "slider sensor value". Select "enable remote sensor connections" in the context menu.

image

Connect Scratch2Romo to Scratch

Identify the IP address of the PC that Scratch runs on.

Start Scratch2Romo and input the above IP address in the text field that says "Scratch Host IP", then click "Connect".

image

if both the iOS device and the PC that Scratch runs on are on the same Wi-Fi network and Remote Sensor Connections are enabled correctly, you should see message saying "Connected".

image

Control Romo from Scratch

If Scratch2Romo is connected to Scratch, you can control Romo from Scratch.

On Scratch, click "Control" on the top left area, drag "broadcast backward" block to the center area, then right click on the block. You should see the list of the commands that can be sent to Scratch2Romo to control Romo.

What you can do with these commands is as follows:

  • backward - make Romo drive backward
  • down - make iOS device docked to Romo face down
  • forward - make Romo drive forward
  • left - make Romo turn left
  • right - make Romo turn right
  • stop - stop Romo
  • up - make iOS device docked to Romo face down

For example, the following script makes Romo dance.

scratch2romo's People

Contributors

champierre avatar fotidim avatar mactkg avatar

Watchers

 avatar  avatar

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.