Differences between revisions 21 and 22
Revision 21 as of 2011-01-10 12:53:37
Size: 4928
Editor: JunHu
Comment:
Revision 22 as of 2011-02-07 21:07:09
Size: 4893
Editor: 195-241-239-132
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
 Lecture:: 08.45 - 10.30, Tuesday Feb. 9, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday Feb. 8, HG 3.21
Line 8: Line 8:
 Help:: 11:30-12.30, Friday Feb. 12, HG4.24.  Help:: 11:30-12.30, Friday Feb. 12, HG3.21.
Line 14: Line 14:

before 5pm, Monday February 22.
Line 26: Line 24:
 Lecture:: 08.45 - 10.30, Tuesday Feb. 23, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday Feb. 15, HG 3.21
Line 29: Line 27:
 Help:: 11:30-12.30, Friday Feb. 26, HG4.24.  Help:: 11:30-12.30, Friday Feb. 21, HG3.21.
Line 50: Line 48:
 Lecture:: 08.45 - 10.30, Tuesday March 2, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday Feb 22, HG 3.21
Line 53: Line 51:
 Help:: 11:30-12.30, Friday March 5 , ID Cafe.  Help:: 11:30-12.30, Monday Feb 28 , ID Cafe.
Line 63: Line 61:
 Lecture:: 08.45 - 10.30, Tuesday March 9, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday March 1, HG 3.21
Line 71: Line 69:
 Help:: 11:30-12.30, Friday March 12 , ID Cafe.  Help:: 11:30-12.30, /!\ Friday March 4, ID Cafe.
Line 74: Line 72:
 Lecture:: 08.45 - 10.30, Tuesday March 16, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday March 15, HG 3.21
Line 87: Line 85:
 Help:: 11:30-12.30, Friday March 19 , ID Cafe.  Help:: 11:30-12.30, Friday March 21 , ID Cafe.
Line 90: Line 88:
 Lecture:: 08.45 - 10.30, Tuesday March 23, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday March 22, HG 3.21

1. Bye-bye Processing. Hello Objects

Lecture
08.45 - 10.30, Tuesday Feb. 8, HG 3.21
Presentation

processing2Java1.pdf

Help
11:30-12.30, Friday Feb. 12, HG3.21.
Homework
  • Read Chapter 1 and 2 in TIJ.
  • Do exercises 1-6 and 12 in pages 130-131, TIJ. Do everything within the Eclipse environment. Notice that Eclipse has build-in javadoc. Do exercise 12 within Eclipse, instead of command line.
  • Send screen copies of the results (running program with output within Eclipse) to <j.hu@tue.nl>, before 5pm of the Monday preceding the next lecture.

  • Preparation for the next lecture
  • Rent again your AdMoVeo robot.

  • InstallArduinoSoftware

  • Upload the IDuino firmware to the Arduino board

  • Read the tutorial Processing in Eclipse

  • Try to modify the example from http://wiki.id.tue.nl/creapro/AdMoVeoInProcessing, make it a Java Program, and get it running with Eclipse.

  • 2. Sharing, Hiding, Inheritance and Composition.

    Lecture
    08.45 - 10.30, Tuesday Feb. 15, HG 3.21
    Presentation

    processing2Java2.pdf

    Example code

    Boids example.zip

    Help
    11:30-12.30, Friday Feb. 21, HG3.21.
    Homework
  • Read Chapter 5 and 6 in TIJ.
  • Do exercise 13 on page 308, TIJ. Do everything within the Eclipse environment.
  • Use the "Boids" example code and create a new class Myboid that displays neither a square nor a triangle.

    Send the classes of the 2 exercises and screen copies of the result (running program within Eclipse with output) in a zip file to <p.j.f.peters@tue.nl>, before 5pm of the Monday preceding the next lecture.

  • Preparation for the next lecture
    (same as last time)
  • Rent again your AdMoVeo robot.

  • InstallArduinoSoftware

  • Upload the IDuino firmware to the Arduino board

  • Read the tutorial Processing in Eclipse

  • Try to modify the example from http://wiki.id.tue.nl/creapro/AdMoVeoInProcessing, make it a Java Program, and get it running with Eclipse.

  • To enable the serial communication between the robot and the java program, not only the creapro.jar should be included in the build path, but also the serial.jar from processing (in <your processing directory>/libraries/serial/library). You will also need to copy rxtxSerial.dll from <your processing directory>/libraries/serial/library into your java project directory (find it out by right clicking on the project name in the package explorer in eclipse, select "properties" then check out "Resources").

  • 3. Polymorphism.

    Lecture
    08.45 - 10.30, Tuesday Feb 22, HG 3.21
    Presentation

    processing2Java3.pdf

    Example code

    Robot.rar

    Help
    11:30-12.30, Monday Feb 28 , ID Cafe.
    Homework
  • Read Chapter 7 in TIJ.
  • Do exercises as presented on the last sheet of this weeks lecture (see pdf mentioned before).

    Send the classes of the exercises and screen copies of the result (running program within Eclipse with output) in a zip file to <p.j.f.peters@tue.nl>, before 5pm of the Monday preceding the next lecture.

  • 4. Swing to GUI

    Lecture
    08.45 - 10.30, Tuesday March 1, HG 3.21
    Presentation
    Hands-on workshop.No presentation slides
    Homework
  • Read chapter 13 in TIJ.
  • In Eclipse, try out the exercise at the end of chapter 13, as many as possible, but at least 5. Deliver the screenshots of the results.
  • Help

    11:30-12.30, /!\ Friday March 4, ID Cafe.

    5. Distributed computing

    Lecture
    08.45 - 10.30, Tuesday March 15, HG 3.21
    Presentation

    procesing2JavaNetworking.pdf

    Example code
  • whois.zip

  • Quote.zip

  • RobotTemplate.zip

  • Homework
  • Read chapter 15 in TIJ upto and including page 926.
  • Create your own Client/Server combo to let the robot perform some actions...

    Send the classes of the exercises in a zip file to <p.j.f.peters@tue.nl>, before 5pm of the Monday preceding the next lecture.

  • Help
    11:30-12.30, Friday March 21 , ID Cafe.

    6. Steps further

    Lecture
    08.45 - 10.30, Tuesday March 22, HG 3.21
    Presentation

    processing2Java6.pdf

    Homework
  • A report (no more than 2 pages of A4) on
    1. What you have learned.
    2. How you would apply it in your design projects.
    3. An overview on your homework: For every task, whether it was done or to what extent it was done. if not, why.
    4. Suggestions on how to improve this assignment.
  • Processing2Java: AssignmentSchedule20102011Block3 (last edited 2011-03-09 10:50:05 by PeterPeters)