I am building a collision avoidance system for my robot. As a part of this system I am using a pan and tilt kit
(http://www.robotshop.com/en/lynxmotion-pan-and-tilt-kit-aluminium2.html)
My aim is to pan the sensor attached to this kit, and thus plan the route the robot should take.
In order to pan this sensor, I need to know the angle the kit has panned, and need to be able to call upon that angle at point in time.
Basically the sensor keeps panning, and at a point in time when certain conditions are met, it stops panning. When those conditions are met, I need to be able to extract the angle the sensor is panned at.
The servo being used on is: http://www.robotshop.com/en/hitec-hs422-servo-motor.html
If someone could help me find a way to extract this information that would be helpful. I did read somewhere that the servo could be hacked and changed into a closed loop system where the effective angle would be shown, but that option is not viable.
Thanks