![]() |
Speed Controllers Not Working
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. |
Re: Speed Controllers Not Working
From what I can tell, you're still using the 2012 plugins which won't work very well. This year, the update URL is different. Also, the new version doesn't have the teleop, autonomous, or disabled continuous methods, and it has a test mode. Also you shouldn't have to touch the watchdog.
|
| All times are GMT -5. The time now is 10:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi