|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
CAN Talon and Bang Bang Controller
Has anyone had success with a bang bang controller with the CAN Talon speed controllers?
Our results were less than spectacular. The lag time for reading and setting the talons was noticeably slow so that you could tell even by listening that the motor was rotating over a large range of speed. I don't recall the graph values but the results were were over a large range. We were also using an unloaded motor. The motor was on a bench with nothing attached to the shaft. Any thoughts would be great to consider. Thanks |
|
#2
|
|||||
|
|||||
|
Re: CAN Talon and Bang Bang Controller
Are you closing the loop onboard the Talon or on the roboRIO?
|
|
#3
|
||||
|
||||
|
Re: CAN Talon and Bang Bang Controller
Quote:
@Ether indicates a built-in speed controller. I've not noticed that, I'm looking ... |
|
#4
|
||||
|
||||
|
Re: CAN Talon and Bang Bang Controller
Quote:
http://www.chiefdelphi.com/forums/sh...49&postcount=8 Look at bullet points 3, 4, and 5 (phase lag, moment of inertia, controller period). That's why your results were less than spectacular. You could improve your results by adding a shooter wheel (increase moment of inertia) and increasing the Talon broadcast frequency (decrease the phase lag). But if you have CAN Talon, why aren't you using its built-in speed controller? Last edited by Ether : 02-13-2016 at 12:57 AM. |
|
#5
|
||||
|
||||
|
Re: CAN Talon and Bang Bang Controller
> But if you have CAN Talon, why aren't you using its built-in speed controller?
Umm, huh? Esplain? I've been over the API, I didn't notice a built-in speed controller? I'll look again, but a hint would be great. |
|
#6
|
||||
|
||||
|
Re: CAN Talon and Bang Bang Controller
Are you referring to
Code:
SetControlMode(kSpeed); |
|
#7
|
||||
|
||||
|
Re: CAN Talon and Bang Bang Controller
...
|
|
#8
|
||||
|
||||
|
Re: CAN Talon and Bang Bang Controller
Thank you! We are having some success with using the Talon in these modes!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|