We are using an encoder module to power the claw on our robot, and I have a few questions to confirm:
- The encoder modules can keep the two claw arms from moving separately when the motors are powered, correct?
- How can we program the encoder modules to work the way as described above, if possible?
- Yes
- PID Control Loop(Hint: Use the faster side of the claw as the target value when determining error)
If you don’t know what PID is, there are plenty of guides and videos that explain it pretty well. My personal favorite is this one: http://georgegillard.com/documents/2-introduction-to-pid-controllers
Barin
3
Correct on both accounts. If you can’t tell which side is faster, it’s generally good enough to just choose a side arbitrarily.