mapBlockSize property

double mapBlockSize
final

The precision of the GPS grid.

Since GPS coordinates are decimal values, we divide by this value to get the index of the cell each coordinate belongs to. Smaller sizes means more blocks, but we should be careful that the blocks are big enough to the margin of error of our GPS. This value must be synced with the value in the autonomy program, or else the UI will not be accurate to the rover's logic.

Implementation

final double mapBlockSize;