Go to Post Don’t forget the purpose of Chiefdelphi. It is to keep the community connected and to help each other out. Moderators have been working days and nights to keep this forum going years after years. Let’s keep this place professional. - Arefin Bari [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-02-2009, 19:44
bomber7 bomber7 is offline
Humanoid
FRC #0585
Team Role: Programmer
 
Join Date: Feb 2007
Rookie Year: 2007
Location: CA - Tehachapi
Posts: 20
bomber7 is an unknown quantity at this point
Startup Delay, Effects Everyone?

Quote:
Originally Posted by bomber7 View Post
The cRIO works great, our code works, however even with default program code the cRIO seems to follow this time table. (Approximitly)

000s cRIO turned on.
040s Labview dashboard begins receiving data.** (As well as Driver station)
080s User-created code begins to run.

I am using the windriver development enviroment.

If I'm not mistaken an 80 second delay between the turn on of a robot and the start of its usefulness will prove too long for the way we normally do competitions. It also makes testing a real pain.

Is this problem widespread or are we just having some kind of funny bug?
Yes I quoted myself >.>

I want to know if everyone is having this problem or just me? Its pretty ridiculous to have to wait 80 seconds before the robot becomes responsive.

I'm using windriver, but if the problem's part of the cRIO it could affect lab view too.

If your having this problem please, please say so. If not, I would like to know that too.

**Clarification, at 40 seconds, by the dashboard begening to recieve data, I mean the mode displays disabled, and the status says "connected"
I know that the dashboard is always recieving data as long as the cRIO is turned on.

Last edited by bomber7 : 10-02-2009 at 19:49.
  #2   Spotlight this post!  
Unread 10-02-2009, 19:50
dani190 dani190 is offline
Registered User
AKA: Dani
FRC #2185 (RoboRams)
Team Role: Leadership
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Canada
Posts: 164
dani190 is a splendid one to beholddani190 is a splendid one to beholddani190 is a splendid one to beholddani190 is a splendid one to beholddani190 is a splendid one to beholddani190 is a splendid one to beholddani190 is a splendid one to behold
Send a message via MSN to dani190
Re: Startup Delay, Effects Everyone?

yep we see this issue also, i wonder what they will be doing about it...
__________________
  #3   Spotlight this post!  
Unread 10-02-2009, 19:54
bomber7 bomber7 is offline
Humanoid
FRC #0585
Team Role: Programmer
 
Join Date: Feb 2007
Rookie Year: 2007
Location: CA - Tehachapi
Posts: 20
bomber7 is an unknown quantity at this point
Re: Startup Delay, Effects Everyone?

Quote:
Originally Posted by dani190 View Post
yep we see this issue also, i wonder what they will be doing about it...
Thank God! Will sort of... Its a bad issue, I guess its like finding out your not the only one with a fatal disease......
  #4   Spotlight this post!  
Unread 10-02-2009, 19:59
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Startup Delay, Effects Everyone?

The delay is caused mostly just by the fact that the control system is so much more complex than last year's--for one, the cRio has an actual operating system. There's also a lot more paralell processing going on, which means that in order for the robot to perform all its functions, all the coprocessing devices need to be booted up, which for my team is the camera, bridge, and DS, in addition to the cRio.

I have been wondering how they're going to manage this at competitions--at the minimum, we'll be wating for the (significant) amount of time it takes the DS to boot since it'll be off until we plug in the competition port.
__________________
Get yer robot source code here!
  #5   Spotlight this post!  
Unread 10-02-2009, 20:04
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Startup Delay, Effects Everyone?

Not sure if this is the case, but I think a lot of the wait is due to the Linksys router. At competition the router will remain on.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #6   Spotlight this post!  
Unread 10-02-2009, 20:50
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Startup Delay, Effects Everyone?

With the DS on with two joysticks, it takes ~30sec for our system to become responsive. I've never tested with the DS/router off, but those both take some time to load. I can believe that from a totally cold boot of everything ~60sec will be normal.
__________________
Eric Haskins KC9JVH
  #7   Spotlight this post!  
Unread 10-02-2009, 21:09
whitetiger0990's Avatar
whitetiger0990 whitetiger0990 is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Earth
Posts: 157
whitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of light
Re: Startup Delay, Effects Everyone?

Ours starts up in 30 seconds.. haven't timed the bridge connecting..

It's gotten to the point where I tell people to not turn it off unless extremely important D=
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
  #8   Spotlight this post!  
Unread 10-02-2009, 21:45
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Startup Delay, Effects Everyone?

I have now read and/or heard quite a few people saying that the startup time will affect the way matches are run at regionals.

Maybe I'm just misremembering, but I don't think it will be that big of a deal. Introductions take about this long anyway. It just means that it is even more important than before that everyone remembers to turn their robot on before leaving it on the field.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #9   Spotlight this post!  
Unread 10-02-2009, 22:09
bomber7 bomber7 is offline
Humanoid
FRC #0585
Team Role: Programmer
 
Join Date: Feb 2007
Rookie Year: 2007
Location: CA - Tehachapi
Posts: 20
bomber7 is an unknown quantity at this point
Re: Startup Delay, Effects Everyone?

Will even if it only overflows 5s into auto, that leaves only 10s of normal operation.

Its important that they have some kind of tracker that makes sure all the robots become responsive before the match is started
  #10   Spotlight this post!  
Unread 10-02-2009, 22:21
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Startup Delay, Effects Everyone?

Quote:
Originally Posted by bomber7 View Post
Will even if it only overflows 5s into auto, that leaves only 10s of normal operation.

Its important that they have some kind of tracker that makes sure all the robots become responsive before the match is started
The Field Management System (FMS) software keeps track of a number of robot readiness parameters so they can make sure that all robots are properly connected and ready to go before the match is started.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #11   Spotlight this post!  
Unread 10-02-2009, 22:43
DtD's Avatar
DtD DtD is offline
I hope the watchdog starves!
AKA: Pathogen David
FRC #2410 (The Metal Mustangs (Merged from 2334, Hazmat Robotics))
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Kansas
Posts: 86
DtD will become famous soon enoughDtD will become famous soon enough
Re: Startup Delay, Effects Everyone?

I noticed this today on our bot, after looking into it, it seems that it is because of the Gyro's init code (otherwise it starts up pretty fast!) if you have alot of sensors being constructed that you aren't using, then try deleting them.

~DtD
  #12   Spotlight this post!  
Unread 11-02-2009, 10:04
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Startup Delay, Effects Everyone?

Our machine has 5 encoders and a gyro and boots in 30 seconds or less (assuming the driver station and router are online).

For those with long boot times: if you use a null-modem cable, do you see any errors or failed assertions during startup? Maybe these could be slowing you down?
  #13   Spotlight this post!  
Unread 11-02-2009, 11:52
repairmanray repairmanray is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Arkansas
Posts: 11
repairmanray can only hope to improve
Re: Startup Delay, Effects Everyone?

During beta testing, it was discovered that the boot time was related to the number of joysticks that were connected. Not sure if that's still the case with the official control system.

DS boot time, that is...

Last edited by repairmanray : 11-02-2009 at 12:01. Reason: Clarification
  #14   Spotlight this post!  
Unread 11-02-2009, 19:03
Sentient's Avatar
Sentient Sentient is offline
Registered User
FRC #0639 (Code Red)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ithaca
Posts: 21
Sentient is on a distinguished road
Re: Startup Delay, Effects Everyone?

Quote:
Originally Posted by nathanww View Post
The delay is caused mostly just by the fact that the control system is so much more complex than last year's--for one, the cRio has an actual operating system. There's also a lot more paralell processing going on, which means that in order for the robot to perform all its functions, all the coprocessing devices need to be booted up, which for my team is the camera, bridge, and DS, in addition to the cRio.
If you plug in a serial cable and read the debug output from the cRio in hyperterminal, you can see all the start up processes the thing is running even before it takes a look at user code. This is really a whole new animal from previous years.
  #15   Spotlight this post!  
Unread 11-02-2009, 23:42
pitzoid's Avatar
pitzoid pitzoid is offline
Registered User
AKA: BOB
no team (4FX Design)
Team Role: Engineer
 
Join Date: Apr 2008
Rookie Year: 1998
Location: Tampa, FL
Posts: 105
pitzoid is a glorious beacon of lightpitzoid is a glorious beacon of lightpitzoid is a glorious beacon of lightpitzoid is a glorious beacon of lightpitzoid is a glorious beacon of lightpitzoid is a glorious beacon of light
Re: Startup Delay, Effects Everyone?

Quote:
Originally Posted by Vikesrock View Post
The Field Management System (FMS) software keeps track of a number of robot readiness parameters so they can make sure that all robots are properly connected and ready to go before the match is started.
This is correct, FMS won't even let the scorekeeper start a match unless the DS is reporting to FMS that the robot is ready to start (which means you're synced up and ready to go) unless the scorekeeper bypasses you which will keep your bot from running. We'll know by the end of this weekend (Suffield) how boot times will effect student tournaments. FTA training last weekend rotating 12 robots in and out of the arena seemed to have no problem with the boot times, but like mentioned, if someone forgets to turn on their robot or some other issue like you guys accidently hit your estop which will require you to power cycle the robot to clear the estop, those kinds of things will eat up tournament time.
__________________
BotBash BOB Pitzer
Harvest CROO Robotics and 4FX Design
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ground Effects...Legal...Helpful? dangell Technical Discussion 1 10-01-2009 23:38
FAHA: The Effects of Vex Beth Sweet General Forum 13 05-07-2008 13:56
CMUCam 3 second startup Delay? Chris_Elston Programming 4 19-02-2006 09:33
Everyone come visit the gravesite(everyone please read) archiver 2001 2 24-06-2002 00:44
Text effects in 3DS Max... Ranma 3D Animation and Competition 6 28-02-2002 21:56


All times are GMT -5. The time now is 21: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