Go to Post I think Team 45 is cloning Andy. Anybody who has pitted next to them should agree that they are first class students running a first class team. - IKE [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

 
Reply
Thread Tools Rate Thread Display Modes
  #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
  #2   Spotlight this post!  
Unread 30-01-2013, 16:40
apples000's Avatar
apples000 apples000 is offline
Registered User
no team
 
Join Date: Mar 2012
Rookie Year: 2012
Location: United States
Posts: 222
apples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant future
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.
Reply With Quote
Reply


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 10:08.

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