Differences between revisions 1 and 13 (spanning 12 versions)
Revision 1 as of 2010-02-08 14:00:11
Size: 3976
Editor: JunHu
Comment:
Revision 13 as of 2010-03-14 20:38:46
Size: 5005
Editor: v061
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
 Lecture:: 13.45 - 15.30, Tuesday Sept. 8, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday Feb. 9, HG 4.24
Line 8: Line 8:
 Help:: 11:30-12.30, Friday Sept. 11, HG4.24.  Help:: 11:30-12.30, Friday Feb. 12, HG4.24.
Line 13: Line 13:
 1. Send screen copies of the results (running program with output within Eclipse) to <<MailTo(j.hu@tue.nl)>>, before 5pm, Monday sept 14.  1. Send screen copies of the results (running program with output within Eclipse) to <<MailTo(j.hu@tue.nl)>>, before 5pm of the Monday preceding the next lecture.

before 5pm
, Monday February 22.
Line 24: Line 26:
 Lecture:: 13.45 - 15.30, Tuesday Sept. 15, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday Feb. 23, HG 4.24
Line 27: Line 29:
 Help:: 10:00-11.00, Friday Sept. 18, HG4.24.  Help:: 11:30-12.30, Friday Feb. 26, HG4.24.
Line 32: Line 34:
 1. Use the "Boids" example code and create a new class '''Myboid''' that displays neither a square nor a triangle. Send screen copies of the result (running Manyboids program within Eclipse with output, also showing the source code of your '''Myboid''') to <<MailTo(p.j.f.peters@tue.nl)>>, before 5pm, Monday sept 21.  1. 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 <<MailTo(p.j.f.peters@tue.nl)>>, before 5pm of the Monday preceding the next lecture.
Line 42: Line 46:
 1. 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").
Line 45: Line 50:
 Lecture:: 13.45 - 15.30, Tuesday Sept. 22, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday March 2, HG 4.24
Line 47: Line 52:
 Help:: 10:00-11.00, Friday Sept. 25, HG4.24.  Example code:: [[attachment:Robot.rar]]
 Help:: 11:30-12.30, Friday March 5 , ID Cafe.
Line 52: Line 58:
 1. Send results to <<MailTo(p.j.f.peters@tue.nl)>>, before 5pm, Monday sept 28.
 Send the classes of the exercises and screen copies of the result (running program within Eclipse with output) in a zip file to <<MailTo(p.j.f.peters@tue.nl)>>, before 5pm of the Monday preceding the next lecture.
Line 56: Line 63:
 Lecture:: 13.45 - 15.30, Tuesday Sept. 29, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday March 9, HG 4.24
Line 64: Line 71:
 Help:: 10:00-11.00, Friday Oct. 2, HG4.24.  Help:: 11:30-12.30, Friday March 12 , ID Cafe.
Line 67: Line 74:
 Lecture:: 13.45 - 15.30, Tuesday Oct. 6, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday March 16, HG 4.24
Line 72: Line 79:
 1. [[attachment:RobotTemplate.zip]]
Line 77: Line 85:
 Help:: 10:00-11.00, Friday Oct. 9, HG4.57.  Send the classes of the exercises and screen copies of the result (running program within Eclipse with output) in a zip file to <<MailTo(p.j.f.peters@tue.nl)>>, before 5pm of the Monday preceding the next lecture.

 Help:: 11:30-12.30, Friday March 19 , ID Cafe.
Line 80: Line 90:
 Lecture:: 13.45 - 15.30, Tuesday Oct. 13, HG 4.24  Lecture:: 08.45 - 10.30, Tuesday March 23, HG 4.24

1. Bye-bye Processing. Hello Objects

Lecture
08.45 - 10.30, Tuesday Feb. 9, HG 4.24
Presentation

processing2Java1.pdf

Help
11:30-12.30, Friday Feb. 12, HG4.24.
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.

  • before 5pm, Monday February 22.

    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. 23, HG 4.24
    Presentation

    processing2Java2.pdf

    Example code

    Boids example.zip

    Help
    11:30-12.30, Friday Feb. 26, HG4.24.
    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 March 2, HG 4.24
    Presentation

    processing2Java3.pdf

    Example code

    Robot.rar

    Help
    11:30-12.30, Friday March 5 , 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 9, HG 4.24
    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 12 , ID Cafe.

    5. Distributed computing

    Lecture
    08.45 - 10.30, Tuesday March 16, HG 4.24
    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 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.

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

    6. Steps further

    Lecture
    08.45 - 10.30, Tuesday March 23, HG 4.24
    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: AssignmentSchedule20092010Block3 (last edited 2011-01-10 12:53:37 by JunHu)