Hi!
I have a case where I need to adjust the position of the robot based on the analog signal from laser. In my case, I have a laser which gives a signal from 0V to 10V. First, robot moves to a position and then it checks the signal. If robot is at correct distance, the signal is around 5V. Otherwise the robot should try to fix its position itself based on the signal.
I was thinking about using a function generator, but I have problems understanding it. I understand the basics, but I have no idea how to scale the signal properly. Does anybody have any experience with similar setup? Moreover, is the function generator suitable for my case at all? Can I use it in stop points or is it more for correcting the position on a path?