Processing

From GICL Wiki
Revision as of 11:09, 3 January 2007 by Pwt23 (Talk | contribs)

Jump to: navigation, search

"Processing is an open source programming language and environment for people who want to program images, animation, and sound. It is used by students, artists, designers, architects, researchers, and hobbyists for learning, prototyping, and production. It is created to teach fundamentals of computer programming within a visual context and to serve as a software sketchbook and professional production tool. Processing is developed by artists and designers as an alternative to proprietary software tools in the same domain." -http://processing.org/

Processing can be used in conjuction with RoombaComm Java Library to write code for communicating with the Roomba.


Installation

Processing does not require installation; It can be run from its folder or CD. Here is the step-by-step required to run RoombaTune, an application that allows the user to use the roomba as a musical instrument through the keyboard.

  1. Download Java from http://java.com/en/download/index.jsp
    *Processing will NOT work without Java
  2. Download Processing (the necessary libraries are included).
    1. Windows: http://gicl.cs.drexel.edu/wiki-data/images/c/c4/Processing_0123_-_Windows.zip
    2. OSX: http://gicl.cs.drexel.edu/wiki-data/images/d/da/Processing_0123_-_OSX.zip
  3. Extract the "Processing 0123" folder

Using RoombaTune

  1. Within the folder, the application is Processing 0123.exe (windows) or Processing 0123.app (OSX). Use this application to open roombatune.pde, which is located in the directory Processing 0123>Roomba Examples>roombatune
  2. At this point, you must connect the roomba to your computer. To do this, refer to the page Connecting Roomba to Your Computer
  3. Once the roomba has been setup for your computer and roombetune is openned in Processing, you can now press "Run" (the play arrow button at the upper left of Processing) to test roombatune.
  4. A dialogue box should appear, asking which [[Roomba Port" to use. Select the one that

Using RoombaView