My robot has a two wheel ball shooter. Can I use the Vex integrated encoder module to automatically make adjustments to the amount of power being supplied to the motors to maintain their speed and to ensure that both wheels are spinning at the same speed during competition?
Yes, you can do this, you will need to use either a PID or TBH loop to make velocity corrections. Search he forums for example codes- they are everywhere. Good luck
This is called velocity control, there are lots of different ways to do it. I recommend TBH (take back half) for up close shots, its simple to tune and very accurate. PID (Proportional Integral Derivative) is more appropriate for accurate and fast full-court shots (match loads), but is much more difficult to tune (3 constants instead of one).
The integrated motor encoder will output a value which you can use in a velocity control loop. There are different kinds of velocity loops.
https://vexforum.com/t/robotc-has-pid-to-control-your-flywheel/31108/1
https://vexforum.com/t/bang-bang-vs-pid/32760/1
https://vexforum.com/t/questions-on-pid/32896/1
https://vexforum.com/t/tbh-code-having-issues/32225/1
https://vexforum.com/t/bang-bang/32616/1
https://vexforum.com/t/bang-bang-help/32739/1
If you end up using PID you probably don’t want to use D. You would need to write a very complicated filter because there is so much noise from the sensors. If you want to learn more about PID this article does a good job explaining it.