Lookup tables are simple ways to take advantage of a table of data, so the data can be easily used in calculations. Examples include complex functions that can be reduced to a table for quick and easy reference, such as, sine/cosine values or points describing an ellipse or complex curve. It could also be a simple table of indexes into some database or something similar. Just for purposes of explanation a lookup table to convert a joystick that a driver is moving to change the robot motor response is shown. This particular example also touches on adjusting the drive table to match the characteristics of the Victor 884 sprrd controller.

ProgrammingBasics-LookupTables