Go to Post Where before there was boredom and lack of understanding, suddenly I saw why competitions would be fun. Not to sound corny or anything, but it brought a side out of me that I used to never show people in public. I danced, cheered, screamed, and had a blast. - DevilChild [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 16-02-2010, 12:55
dona klarson dona klarson is offline
Registered User
no team
 
Join Date: Jan 2010
Location: ISRAEL
Posts: 5
dona klarson is an unknown quantity at this point
it takes time to recive communication after rebooting .. why ?????????

hi
i just was wondering if i should restart the classmate whenever i reboot the roboot in order to get communication .. because if i don't i don't get anything .. which doesn't seem resonable since it takes too much time concediring that we don't have the time to do it everytime at the competition .. right ????????
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2010, 13:01
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: it takes time to recive communication after rebooting .. why ?????????

You dont need to reboot the classmate when rebooting the cRIO. The cRIO will reboot and re-initiate communications with the classmate automatically. It takes time. If you powered off the robot, then the bridge (WGA600N/WET610N) has to reboot too, and takes around 30 seconds to authenticate with the network and so on, and the cRIO takes another 30 seconds or so to come online once the bridge is up.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2010, 15:50
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: it takes time to recive communication after rebooting .. why ?????????

or do it faster by pushing the reset button on the crio (between dip switches and serial port) or clicking reboot robot in the lower right corner of the diagnostic tab of the DS
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2010, 16:09
Zme Zme is offline
Registered User
FRC #2619
 
Join Date: Jan 2009
Location: Michigan
Posts: 83
Zme is on a distinguished road
Re: it takes time to recive communication after rebooting .. why ?????????

be careful pushing the reset switch on the crio, we had one break on us last year
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2010, 17:53
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: it takes time to recive communication after rebooting .. why ?????????

If you're doing a "cold" boot of the robot, there's a condition where the DS/cRIO link may not work(Essentially the bridge doesn't boot fast enough to pick up the cRio's announcement that it is online, and as a result, refuses to relay messages to the cRio because it doesn't think anything is connected).

Rebooting your Classmate will solve the problem, because it will cause the classmate to ask the cRio to re-send its announcement. However, a quicker way to accomplish the same thing is to reset the cRio without powering down the bridge. The bridge will then be able to discover the cRio and connect it to the DS.
__________________
Get yer robot source code here!
Reply With Quote
  #6   Spotlight this post!  
Unread 16-02-2010, 19:09
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: it takes time to recive communication after rebooting .. why ?????????

Quote:
Originally Posted by nathanww View Post
If you're doing a "cold" boot of the robot, there's a condition where the DS/cRIO link may not work...
Actually, the newest update resolves this problem.

It is mandatory to have the latest updates on both the DS and the cRIO, so make sure you visit that page if you haven't already.
__________________
Aren't signatures a bit outdated?
Reply With Quote
  #7   Spotlight this post!  
Unread 17-02-2010, 08:45
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: it takes time to recive communication after rebooting .. why ?????????

Quote:
Originally Posted by dona klarson View Post
we don't have the time to do it everytime at the competition .. right ????????
I'm confused by what you mean here. If you mean out on the field during the matches, there's ample time while they're setting up the course for your match to make sure that your robot is turned on, booted up, and has good comms. In fact, they don't start the match until this is true for all six teams in the match.

If you mean in the pits while debugging, 30 seconds isn't that awful. You can always run debug mode if you need to test things faster.
__________________
Reply With Quote
  #8   Spotlight this post!  
Unread 17-02-2010, 11:26
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: it takes time to recive communication after rebooting .. why ?????????

In the pits its irrelevant and almost instantaneous, thanks to wired lan and taking the bridge out of the equation.
Reply With Quote
  #9   Spotlight this post!  
Unread 17-02-2010, 11:31
cmh0114 cmh0114 is offline
Registered User
AKA: Cam H
FRC #0217 (Thunderchickens)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2005
Location: Michigan
Posts: 61
cmh0114 will become famous soon enoughcmh0114 will become famous soon enough
Re: it takes time to recive communication after rebooting .. why ?????????

You definitely don't need to power cycle the robot every time you want to update your code. Just press the reset button on the cRIO. If you power cycle, it'll take about 60 seconds for you to get comm back. If you just reset the cRIO, it shouldn't take more than 15 or 20 seconds.
EDIT: And if you restart the Classmate every time you update, it'll probably take closer to two or three minutes by the time it shuts down, reboots, and gets comm back.
Reply With Quote
  #10   Spotlight this post!  
Unread 18-02-2010, 07:32
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: it takes time to recive communication after rebooting .. why ?????????

Each team should set their own procedure, but within the lab, we leave classmates going for weeks connected in various ways to cRIOs. A restart should not be necessary under normal use. It may be necessary to restart the DS, particularly when leaving a field after a competition, but it is just a program. Exit, and log back into the DS.

Greg McKaskle
Reply With Quote
  #11   Spotlight this post!  
Unread 18-02-2010, 20:27
Puffin's Avatar
Puffin Puffin is offline
\(^,^)/
FRC #2625 (Arc Angels)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Mississauga
Posts: 20
Puffin is an unknown quantity at this point
Send a message via MSN to Puffin
Re: it takes time to recive communication after rebooting .. why ?????????

I reset the crio and that takes around 15 seconds
__________________
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any reason why EEPROM code forgets after power off. PhilBot Programming 0 31-01-2008 15:09
National Spelling Bee on Prime Time Again, Why Not FIRST? skimoose Chit-Chat 4 31-05-2006 23:54
Robot motion after the time has run out. Randy Ai Rules/Strategy 1 06-01-2003 17:17
Repair Time After Reginals archiver 2000 10 23-06-2002 23:47
After all this time ... Chris Hibner General Forum 2 24-01-2002 16:18


All times are GMT -5. The time now is 02:27.

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