Both Arms Holding Same Position Code Help

Hello there!

I was wondering if this was possible. We have 2 arms on 2 different towers, so the arms don’t stay perfectly aligned while going up and down. Is there a way to use the potentiometers in helping the arms stay the same angle?

Thanks!

There is, it’s just another implementation of a PID closed loop control system, however, I would pursue a mechanical solution first as, even with this type of control, one arm will tend to lag slightly behind the other when moving.

OK, we are currently adding support between both bars (hopefully that will eliminate a lot of the problem).

Thanks!