Programming
Workshop

Spring 2006
course
navigation

home

This directory has a bunch of stuff for Java Lego robotics. Julie's interested in looking at that, so I've downloaded and installed some of the related software. - Jim on Jan 23.
This page has links to various parts of the java stuff on cs.

Java

I installed Sun's java jdk 1.4 in /usr/local/jdk1.5_0_06 and their netbeans IDE in /usr/local/netbeans-4.1. Executables have been linked to /usr/local/bin, so they should work by default from your command shell.
$ ssh -X username@cs.marlboro.edu passwd: *** username@cs$ netbeans & or username@cs$ java hello.java
See for an example.

LeJOS

Lego Java Operating System is a set of Java Classes to do robotics for the Lego Mindstorms RX bricks. (We have some upstairs in Sci217.) The executables (which compile *.java and download to the brick, if we had an infrared dohickey attached to cs, which there isn't) are in lejos/. :)
But having it here does let us run the simulator ... so read on.

Intellego

An undergrad named Graham Ritchie wrote a simulator for the Lego Robots several years ago. Very cool.
It's all installed and ready to go on cs.
$ ssh -X you@cs.marlboro.edu passwd: *** you@cs$ export BASE=/var/www/cs/htdocs/courses/spring2006/programming_workshop you@cs$ cd $BASE/lejos/Intellego you@cs$ ./Intellego.sh &
Then with the menus:
tools / simulator controls / pick world ... LightWorld controls / add robot ... HandCodedLightSeeker ... OK controls / start simulation
Some links to the code that defines the world and the robot :
Are we having fun yet?
http://cs.marlboro.edu/ courses/ spring2006/programming_workshop/ lejos/ home
last modified Thursday August 31 2006 2:27 am EDT