Difference between revisions of "Processing"

From GICL Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 10: Line 10:
 
##OSX: http://gicl.cs.drexel.edu/wiki-data/images/d/da/Processing_0123_-_OSX.zip
 
##OSX: http://gicl.cs.drexel.edu/wiki-data/images/d/da/Processing_0123_-_OSX.zip
 
#Extract the "Processing 0123" folder
 
#Extract the "Processing 0123" folder
 +
#If you are using OSX, then you must run the script called "macosx_setup.command." This is found in the "Processing 0123" folder.
 
==Starting a New Program==
 
==Starting a New Program==
To start a new program, a below template can be used
+
To start a new program, the Roomba Template can be used: [[Roomba Template]]
 +
 
 +
<!--
 
==Using RoombaTune==
 
==Using RoombaTune==
 
#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
 
#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
Line 17: Line 20:
 
#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.
 
#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.
 
#A dialogue box should appear, asking which [[Roomba Port" to use. Select the one that
 
#A dialogue box should appear, asking which [[Roomba Port" to use. Select the one that
==Using RoombaView==
+
-->

Latest revision as of 18:06, 3 February 2007

"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 will be the primary IDE (Integrated Development Environment) for controlling Roomba (though other IDEs are welcome) and will 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
  4. If you are using OSX, then you must run the script called "macosx_setup.command." This is found in the "Processing 0123" folder.

Starting a New Program

To start a new program, the Roomba Template can be used: Roomba Template