...The control is done via tele-manipulation which is done by the tracking of 4 IR LEDs fixed at the joints of the controller arm. This code is the part of the project responsible for the interfacing with the wiimote, stereo-triangulation of the wiimote data and determining the 3D coordinates of the IR LEDs.