So, my team and I have a bit of an issue. We've been trying to quickly bring our robot together for a gateway competition tomorrow.
You can see our mostly-assembled robot in the picture below (note that the picture is slightly outdated, and we have moved some motors around and removed the two pieces of metal that run between the lift system, but it should give a general idea):
The issue we're having is with the four-bar linkage designed to lift the conveyor-belt intake system (that would pick up, hold, and drop game objects).
We have a motor powering each of the four bars, where they are connected to the rest of the chassis; the two motors towards the front of the robot are both high power motors, while the two motors towards the back of the robot are regular motors. We also have a potentiometer to monitor each of the two front motors, and an encoder for each of the two back motors (and we don't have the time or space to change this arrangement).
Unfortunately, sometimes the bars run out of sync, which causes some big issues with our conveyor-belt intake system. So, our goal was to use the two encoders and two potentiometers to attempt to synchronize the four motors (but not necessarily at the same speed, just at an appropriate speed). How could this be done? And if we were to use PID, how should that be configured, what should be the input and where should the output be applied?