I just finished my motorized rangefinder! Here is a video:
I used a servo with an elaborate arm-mechanism to save some space. I'll post some details if you want. All in all it cost me maybe $20 to make, that was just for the servo.