Go to Post Like a wizard, Car Nack is never late. He always arrives precisely when he meets you. - EricH [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 26-04-2011, 18:03
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: Autonomous does not run during first enable

ours does something similar to this. The problem is that the autonomous runs too many things at once which slows it down the first time. AKA do you have multiple while loops acting independently? Thats what our problem is we have a PID loop and a drive loop. The PID loop delays the drive loop a couple seconds then it runs. So everything works but it just takes a couple seconds extra.

NOW FOR YOUR ANSWER IF IT DOESNT WORK SORRY

Preface- If you have a working one DONT TOUCH THE OLD ONE TILL OFFSEASON
1 Run your robot in Autonomous mode (if your not already). And after about a minute or 2 it should execute something (if nothing happens go no further)
2 If something happens remove/combine some of your while loops.
3 Profit
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
Reply With Quote
  #2   Spotlight this post!  
Unread 26-04-2011, 20:26
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Autonomous does not run during first enable

If your autonomous loops are taxing the CPU too much, it is likely because one or more of them is running full speed, with no sleep function in it. This is very easy to spot and very easy to fix. Come by the NI booth or ask the CSE folks if you need assistance.

Greg McKaskle
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 20:46.

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