Hi, I think I've found out a bug in your code for RemoteMotor. Here it is:
Code: Select all
public void waitComplete()
listener.rotationStarted(this, getTachoCount(), false, System.currentTimeMillis());
In this method we will always get NullPointerException unless listener is added (which is commented as not fully implemented). I'm wondering what should I do now. I would like to correct it, but then I'll have to rebuild whole lib?
Or maybe I should write a short code and make a remote steering on my own? Is RemoteNXT rather functionnable, or I should just send a short comments through a bluetooth like "A.90" or "B.-180" and use standard components locally on the second brick?AAAh. It is fixed in trunk as far as I can see