Go to Post When was the last time you heard of someone on their death bed talking about a great movie they saw? I think it far more likely to hear of their accomplishments, something they did to make things better. Well that's what FIRST is all about. - DougHogg [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 11-02-2013, 19:14
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: NetConole replacement

Both netterm and netconsole use UDP. By definition, unlike TCP, UDP doesn't guarantee no packet loss. So if you overwhelm the network with packets, it is possible to lose some. It is just the nature of UDP for higher performance. Netterm allows you to switch to TCP but communication protocol must be agreed on both sides. So if you want to use TCP, both side must be using TCP. Unfortunately, the cRIO side is designed to use UDP only. So this doesn't help you. In any case, if you overwhelm the network with packets, you should reconsider how you do printf's. Printing lots of stuff in a tight robot loop is normally discouraged. This will drastically slow down your robot and may cause the "Watchdog not fed" warning so the robot may hesitate. If you want to see the value of some variables, there are many alternatives than using plain printf's in a loop. If you really want to do printf's in a loop. Do it once every 10 or 20 loops or so. You can also use the SmartDashboard to monitor variables.
EDIT: After reading your post again, you seem to have a network dropout issue. You may want to reposition the wireless router on the robot. If the network drops out intermittenly, UDP will also drop packets.
__________________

Last edited by mikets : 11-02-2013 at 19:18.
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 12:02.

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