|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
The Bisect Ctl code shows a while loop, and you have that in the teleop code. Isn't having a while loop in the Teleop code a bad thing? Or am I missing something...
Also, does the controller need a fixed time base between iterations? It would seem that if the delta t's are not consistent, there would be issues similar to if they are not consistent in a PID loop? We actually have the code running on our bot, but I am doing a software review, and had some questions. Not 100% FRC and Labview savvy. |
|
#2
|
||||
|
||||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
Quote:
That being said, I like the use of a while loop in this case since it makes the logic flow easier to follow. Last edited by John Sabath : 11-03-2013 at 19:02. |
|
#3
|
||||
|
||||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
Thanks John, I see the stop button now, not used to seeing that done. I did just take out the while loop, and rewired it all with the "normal" feed back loops, and even after the "broom of death" the code was pretty much un-readable. I see the reason for the one iteration loop, it made the code pretty.
As to the other question, what happens to the control if there isn't a consistent time between teleop iterations. Scott. |
|
#4
|
||||
|
||||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
Wow this is a cool algorithm. I think we'll try it next chance we get. Thanks for sharing!
|
|
#5
|
|||||
|
|||||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
For shooter speed control, what are the advantages of PID or take-back-half control over bang-bang control? It seems like bang-bang control provides the shortest spin-up time, as the motor is run at full power, and, if run with a fast enough update time, accurately holds shooter speed in a small tolerance.
|
|
#6
|
||||
|
||||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
Quote:
1) your motor is directly connected to the shooter wheel (so there is no gearbox free play and minimal "drivetrain" friction), and ... then it's hard to beat bang-bang control. Even if some of the above criteria are not met, bang-bang can be the best method, on a case-by-case basis depending on your design. |
|
#7
|
|||||
|
|||||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
"You must spread some reputation around before giving it to Ether again"
Last edited by z_beeblebrox : 12-03-2013 at 13:06. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|