Accelerometer/Gyro Resolution field

The Accelerometer and the Gyroscope have a field ‘resolution’. When combined with a LUT table the behaviour is not clear.
If we use the example from the DistanceSensor documentation:

lookupTable [ 0     1000  0,
              0.1   1000  0.1,
              0.2    400  0.1,
              0.3     50  0.1,
              0.37    30  0   ]
resolution 0.1

Does the resolution refer to the values 0-0.037 or the values 30-1000 ?

Hi, the resolution is enforced on the response (30-1000 in this case). The raw measurement is first interpolated according to the lookup table and subsequently limited according to the specified resolution, if any.