Go to Post The term normal is relative to CADer side of me. When compared to the rest of society, there is no normal side of me. - Pault [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 22-02-2011, 18:30
2829ron 2829ron is offline
Registered User
FRC #2829
 
Join Date: Jan 2009
Location: USA
Posts: 92
2829ron will become famous soon enough2829ron will become famous soon enough
Motor in Autonomous.

Created robot project without game code. Teleop works fine. When I add motors in autonomous they don't run, but the robot will drive. Please help.

Thanx,

David

Reply With Quote
  #2   Spotlight this post!  
Unread 22-02-2011, 18:37
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: Motor in Autonomous.

I think you need shift registers instead of loop tunnels try that and tell me if it works.
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-02-2011, 18:41
2829ron 2829ron is offline
Registered User
FRC #2829
 
Join Date: Jan 2009
Location: USA
Posts: 92
2829ron will become famous soon enough2829ron will become famous soon enough
Re: Motor in Autonomous.

Okay. I'll try that. I had tried that on this code before with what I have coded disabled. Does it need to be deleted?

Thanx

David
Reply With Quote
  #4   Spotlight this post!  
Unread 22-02-2011, 21:54
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: Motor in Autonomous.

Im not sure what your asking there
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
Reply With Quote
  #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
  #6   Spotlight this post!  
Unread 23-02-2011, 10:34
2829ron 2829ron is offline
Registered User
FRC #2829
 
Join Date: Jan 2009
Location: USA
Posts: 92
2829ron will become famous soon enough2829ron will become famous soon enough
Re: Motor in Autonomous.

Thanks everyone. Got it to do something with arms and drive motors yesterday (a little more on the drive motors then I wanted ). So I guess I'll code it now and test it at regionals.

Thanx again,

David
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 08:12.

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