View Single Post
  #5   Spotlight this post!  
Unread 22-02-2011, 22:41
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Motor in Autonomous.

Here are some "issues", although none of these I don't think are the cause of your problem:
-You should not need shift registers. It is still passing the same reference.
-The +1 in your while loops isn't needed, i is incremented automatically. (unless you want your while loop to run 1 less than the indicated number.
-I would reduce the timer value to less than 50 mS, like 40 or 20. There isn't really any reason to run it longer.
-We like using the express vi "Elapsed Time" instead of looking at the the i value. It is easier to program and I think it's more consistent.

But I think your issue is either in your references (check the Begin and make sure they match) and check if it works in Teleop. If it works in Teleop it is a Programming issue, if not then Electrical.
__________________

Last edited by DavidGitz : 22-02-2011 at 22:43. Reason: clarification
Reply With Quote