A mechanical tracking system comprises a first set of linkage arms, a second set of linkage arms, a pair of shafts connected at a first end to one arm of the first set of linkage antis and at a second end to one arm of said second set of the linkage arms, wherein each arm of the second set of linkage arms is oriented out of phase with a respective arm of the first set of linkage arms, an attachment shaft positioned adjacent to the first set of linkage arms to accommodate a tool, and a sensor arrangement configured to sense the orientation and position of the attachment shaft.