by alina » 10 Dec 2014, 11:55
Hi,
I recently revisited my problem and found the source of the NPE, it happened because I used the Point2D class as a key in an Hash-Map but the class doesn't implement the hashCode Method, maybe you want to include this in future releases.
But solving this stll didn't enable me to resample some points (I'd like to resample points with too low accuracy, because a good average accuracy usually doesn't mean that the accuracy is very high when you lok at the outer regions of the screen):
I've been looking at the code of the C# calibration example, but I still don't get how to restart the calibration for the points I want to resample:
By the time onCalibrationResult is called, isCalibrating is false, so I have to start a new calibration, otherwise "calibrationPointStart" will throw an error. But this means I have to sample all points again, doesn't it?
I'm sorry for the probably stupid question, but I just can't find the difference between my code and the C# example...