We are having an awkward issue with our speed controllers.
Our controllers will work as expected until we pass them a value below a certain threshold, at which point they no longer work. For example, this is what happens with the following code:
drive.tankDrive(1,1); //Works normally
drive.tankDrive(.5,.5); //Stops motors. Expected, as they probably just do not have enough voltage to run.
drive.tankDrive(1,1); //Motors no longer run. 0V out of speed controllers.
Once the motors stop we must disenable and reenable to get them to run again.
Team code can be found at:
https://github.com/lwague2/Team4209/...4209Robot.java
NOTE: Due to the way our robot is built and a lack of splitter cables, we have two 2-wheel RobotDrives that we simply pass like values. This seems works as expected and does not seem to be the source of the problem.