Go to Post I have gone and confused myself again. Why does this happen every time? - Jay Trzaskos [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 08-03-2013, 01:01
gerberduffy gerberduffy is offline
Registered User
FRC #0192
 
Join Date: Jun 2011
Location: California
Posts: 8
gerberduffy is an unknown quantity at this point
Re: Lag Issues On Field

We've had field communication issues for a number of years now. We found that the root of the problem most of the time is spawning too many threads that ate up processor time, or logging output to stdout/files, which kills flash memory and halts the FPGA (cRIO).

In the old version of our software, every robot sensor/component spawned its own thread, and we suffered often from serious comm issues, even at home. To solve this, we put all sensor polls into a single main-event thread that polls ALL sensors a few times a second, and that knocked out nearly all of our problems.

It's odd that you never had problems at home, do you have any custom hardware, or manually set the IP's of something? You could have an IP collision with another device that the FMS is looking for.
Reply With Quote
 


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 23:45.

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