Quote:
Originally Posted by Tom Line
When doing velocity control with the talon srx's, the velocity you get from your feed-forward term is going to be affected by battery voltage. Has anyone experimented or used a battery offset term to correct for this? Is it worth it?
|
Tom,
The I gain is for things like that. We use I and P for velocity control and as long as you design your gearbox / motor combo with enough headroom then the I and P can compensate. We design our speed controlled devices to operate at 60% duty for the ideal situation. For example, if you want your shooter to go 2500 RPM, it better hit that speed at 60% - 70% duty. This way, the I and P gain can do their job. When testing without speed control, if you set your motor command at .6 or .7, then you should be able to score your game object from the desired shooting spot with a full battery and one ball at a time. At least, this is what we do.
Paul