I now have access to a tetrix kit again, and I've been very much wanting to play with the tetrix code I saw in the trunk a few months ago; I'm using the snapshot that I checked out from svn yesterday.
However, I'm not understanding how it's supposed to work; I'd read that these controllers were supposed to timeout after a few seconds of lack of communication from the NXT; and that had been my experience using the Labview stuff.
So I first tried http://sprunge.us/QjAZ?java . Provided I remember to power the controller, the motor spins like it should... for awhile. It seems that every so often the motor appears to randomly and abruptly reverse direction. Out of curiosity, I then tried http://sprunge.us/TSgC?java which seems to cause the motor to rotate indefinitely (until I press ENTER of course).
TetrixMotorController.java gave me the impression that a new i2c command is not sent anyway if the motor is already supposed to be going forward. I can't seem to find where you magically prevent the controller from timing out otherwise.
Is this related to the i2c issues kirkpthompson briefly mentioned halfway down in viewtopic.php?f=6&t=2854&p=14719 and is that experimental firmware still relevant/useful compared to the snapshot?
