Go to Post FIRST is the best thing that has ever happened to me...FIRST has taught me so much more than anything I learned in the classroom. The thing with my team, is we are so close, we are family, and I have figured out so much about who I am because of FIRST. - princessnatalie [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 05-03-2011, 06:28
Dkt01's Avatar
Dkt01 Dkt01 is offline
Programming Mentor
AKA: David
FRC #1756 (Argos)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Peoria, Il
Posts: 145
Dkt01 will become famous soon enough
Re: Robot Code Making Programming Laptop Disconnect

Try disabling the wireless on whichever laptop you aren't currently using. For example, if you are doing a real-time deployment, only use wireless on the laptop that is executing the deployment.
This seemed to solve much of our problems, but we still lost communication occasionally.
On a similar note, we seemed to notice that we lost communication more frequently during a real-time deployment when the driver station was open. We didn't look into this much, but it seemed strange to us.
  #2   Spotlight this post!  
Unread 05-03-2011, 14:58
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Robot Code Making Programming Laptop Disconnect

Quote:
Originally Posted by Dkt01 View Post
Try disabling the wireless on whichever laptop you aren't currently using. For example, if you are doing a real-time deployment, only use wireless on the laptop that is executing the deployment.
This seemed to solve much of our problems, but we still lost communication occasionally.
On a similar note, we seemed to notice that we lost communication more frequently during a real-time deployment when the driver station was open. We didn't look into this much, but it seemed strange to us.
We're using both, one to host the code and the other to host the driver station.

Also, using both laptops in the exact same configuration worked fine with a different version of the robot code.
  #3   Spotlight this post!  
Unread 06-03-2011, 11:04
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Robot Code Making Programming Laptop Disconnect

Sounds like an overly saturated CPU -- code demanding too much CPU time.

Try running the System Manager and watching the CPU utilization.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 08-03-2011, 01:55
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Robot Code Making Programming Laptop Disconnect

Found the problem - one single loop in periodic tasks didn't have a wait on it. Ugh. I should remember to use the CPU measurer thing (See, I don't even know its name!) more often.
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


All times are GMT -5. The time now is 03:51.

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