[Kitbot] SparkMax brushless motors cannot follow Talon(s)
Boomaa23 opened this issue · comments
SparkMax motors can't follow Talons. They also don't have motion magic, so I suspect some custom PID looping will be needed.
Are we mixing the two?
I would just revert to pre-follow mechanics, where we set the power on both of them. However, I suspect they will have uneven output even then. I don't know if that's tolerable.
As far as I know, each driveside now has two brushless motors and one brushed. I'm not sure if that means two sparks and one talon, or if we can use a spark for the brushed motor as well. I'm pretty sure there was a kBrushed type here somewhere, so maybe? Even if that is true, what is actually getting installed?
Here it is:
public static enum MotorType { kBrushed(0), kBrushless(1);}
Fixed: follow() on sparks can take an ExternalFollower
of kFollowerPhoenix
or kFollowerSparkMax