In order to use a wrist-mounted sensor (such as a camera, a range sensor, or a tactile sensor) for a robot task, the position of the sensor with respect to T6(wrist of robot) must be known. We can find the mounting position of the sensor by moving the robot and observing the resulting motion of the sensor. This yields a homogeneous transform equation of the form AX=XB, where A is the change in T6due to the arm movement, B is the resulting sensor displacement, and X is the sensor position relative to T6. A and B are known, since A can be computed from the encoder values and B can be found by the sensor system. The solution to an equation of this form has one degree of rotational freedom and one degree of translational freedom. In order to solve for X (the sensor position) uniquely, it is necessary to make two arm movements and form a system of two equations of the form: A1X=XB1and A2X=XB2. A closed-form solution to this system of equations is presented. The necessary condition for a unique solution is that the axes of rotation of A1and A2are neither parallel or antiparallel to one another. The theory is supported by simulation results.