|
Question about encoders to control motor
Our team is competing this weekend at the Michigan State Championship, i have been the programmer for about the last two years and i look to improve our shooter. The way we control the speed of the shooter is working well but we look to improve it by adding an encoder. I have played around with encoders on an old robot i had played with them and understand how they work. Although i need help using the rpm from the encoder to control the shooter speed
I currently use Labview as a programming language
What i am looking for is an example or VI that will automatically adjust the speed of the shooter to the desired rpm by using the information from the encoder. (if its going fast enough or to fast). I have looked at some of the PID Vi's but i cant seem to find one that will work for the application im looking for. If you can help me or give me an example how to use the encoder to control the shooter that would be great. Thanks
__________________
Ferris State University-Manufacturing Engineering (BS)
FRC 2054: Student 2010-2013
FTC 6283: Mentor 2012-????
FTC 5980: Mentor 2012-????
FTC 7837: Mentor 2013-????
FRC 2054: Mentor 2013-????
FRC 5162: Mentor 2014-????
FRC 5448: Mentor 2016-????
FRC 5576: Mentor 2015
|