Go to Post "The rio has a boulder sized hole though it? *shrug* Just duct tape it. That doesn't let the code out, right?" - Bkeeneykid [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 28-01-2013, 19:51
momoJr0 momoJr0 is offline
Registered User
FRC #4209
 
Join Date: Jan 2013
Location: Baton Rouge
Posts: 1
momoJr0 is an unknown quantity at this point
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.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi