Go to Post Maybe my brain fog factor has expanded after wading through 1114's competition data sheet, so I cannot see the forest for the trees. - Bill_B [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 15-02-2012, 17:24
flippy147852's Avatar
flippy147852 flippy147852 is offline
respect the hat
AKA: Felipe Agurto
FRC #1918 (NC GEARS)
Team Role: Alumni
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Robolab (Fremont, MI)
Posts: 166
flippy147852 is an unknown quantity at this point
Robot code delay on startup

When we first enable the robot after startup, there is a five to ten second delay before we can operate the robot. We have no errors or extra code that would cause this, so if anyone knows whether this should happen or how to fix it, please let us know. Thanks!
__________________
NC GEARS = Newaygo County Geeks Engineering Awesome Robotics Solutions

2009: 5 Events, 60-25-2. 1 District Win, 3 Finalists
2010: 4 Events, 51-13-6. 1 District Win, 1 Regional Win, 1 Finalist
2011: 4 Events, 58-18-4. 2 District Wins
2012: 4 Events, 46-25-0. 1 District Win, 1 Finalist
Total: 17 Events, 215-81-12. 308 matches in 4 years

Scouting it all: Priceless
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2012, 17:39
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Robot code delay on startup

I'm experiencing this as well with a brand new 4-Slot cRIO.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2012, 21:05
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,748
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: Robot code delay on startup

I've seen this happen when Begin was allocating a number of things that fail out --serial and camera can both contribute.

One thing I often do is to put a small wire from the i terminal to the edge of the loop. For teleop, that turns into a feedback with a +1. Then I can probe some of these spots and see which loops are running, which are not, and get a sense of performance. A step up from this in terms of info is to use the Elapsed Times VI in the Support folder. You place this wherever you like and open the Elapsed Times to see the rate info.

This should help narrow down which code is responsible.

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 03:55.

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