Lego-Robotics and Turtle-Graphics with Java

Deutsch
Virtual Campus Project, PHBern
HomeoopNXToopNXJlejosNXTlejosNXJTurtle-GraphicsPrint
Start Online-Editor

LEGO-Robotics and Turtle-Graphics with Java

Graphical simulations and especially robotics are perfectly suited for the introduction of object oriented programming with Java. In reality robots consit of deifferent components, such as motors, sensors, etc. In object oriented programming with Java these components can be seen as Java-Objects which bear a certain relation to each other (composition, inheritance).
This website consits of a special learning environment which allows the user to use purpose-built Java-class-libraries and many complete and runnable program examples. Writing and developing Java programs in our Online-Editor limits the local installation to a minimum.
This learning environment consists of five tutorials: oopNXT, oopNXJ, lejosNXT, lejosNXJ and Turtle-Graphics. A more precise explanation can be found at Tutorials.
  prinzip  

There are four tutorials for the Lego-NXT, which have two ways to communicate between the robot and the computer:
Working with the oopNXT tutorial or the lejosNXT tutorial the robot communicates via Bluetooth with the computer while running a program.
Working with the oopNXJ tutorial or the lejosNXJ tutorial the firmware and the programs are downloaded to the NXT via UBS or Bluetooth. The robot does not communicate with the computer while running the program, it is a stand-alone application.