I am experimenting with the light sensor shipped within the mindstorms ev3 package.
My Problem is that the bot is standing quiet at one place. Each value returned by sensor is different, although the bot is not moving. Why? :-(
I am using the Red mode:
SensorMode t = sensor.getRedMode();
float[] sample = new float[1];
t.fetchSample(sample,0);
return sample [0];
I tried putting the sensor in different positions and tried different distances to the floor. When it is on a black line the values differ a lot.
Which sensor modes do you guys use for getting reliable information about underground colour? Or let's say underground brightness?