Automated Control of Pan-Tilt Stage