I'm using the lejos snapshot from the trunk that I checked out two days ago.
I was just half-reading what the tutorial had to say, and I decided I'd do the first motor control problem with the tetrix motor controller.
My implementation: http://sprunge.us/dNVG?java ; it seems that even doing the motor operation first thing in the loop, "forward/backward" appears on the screen several seconds (~3-6 seconds in my repeated experiments) before the motor changes direction appropriately.
But it's just the motor operations in the middle of the loop that are heavily delayed. The first forward() and the stop() method appear to be instantaneous. Out of curiosity, I then modified my code to this: http://sprunge.us/dceI?java, and that seems to work very responsively. Why should/does it appear to make a difference what the motor controller is doing before you send it a command?
Any java-specific suggestions are also welcome.
