Go to Post One wouldn't want to keep the red herring in hand, that gets kind of stinky. - GaryVoshol [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 04-04-2013, 21:41
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
NetworkTables issues / custom dash

At the Inland Empire regional, many teams using SmartDasboard encountered code crashes and a flurry of NetworkTables errors in NetConsole. One team using NetworkTables in their code encountered the same errors. I'm looking into writing a custom LV dashboard, but it looks like the legacy Dashboard data functions have been replaced by NetworkTables. Is there any way to avoid NetworkTables besides writing a custom protocol? Thanks.
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK
  #2   Spotlight this post!  
Unread 04-04-2013, 21:53
Andrew Lobos Andrew Lobos is offline
Registered User
FRC #0225 (TechFire)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Lancaster, PA
Posts: 61
Andrew Lobos is a jewel in the roughAndrew Lobos is a jewel in the roughAndrew Lobos is a jewel in the rough
Re: NetworkTables issues / custom dash

Was there a common programming language the teams with issues were running?

We have had no issues with the Java implementation of NetworkTables communicating with SmartDashboard

I know a lot of NetworkTables has been redone this year, so this may not be relevant, but in 2012 under C++ our robot would crash (not instantly) if we used any SmartDashboard calls. As I remember Netconsole was filled with NetworkTable errors.
  #3   Spotlight this post!  
Unread 04-04-2013, 21:57
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: NetworkTables issues / custom dash

Some teams using LabVIEW and C++ encountered the errors when using SmartDashboard. One Java team using NetworkTables directly also encountered the errors.
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK
  #4   Spotlight this post!  
Unread 04-04-2013, 22:38
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: NetworkTables issues / custom dash

The command packet still includes the LV dashboard protocol and it is accessible in LabVIEW

The underlying calls to Netcomm are the same for each language (3 function calls, get common control data, set common control data, set error data) and Netcomm supports it, so you should be able to modify the C++ or Java implementation of the WPIlib to access it. The protocol itself is very simple, it literally just sends two strings across the network. The functions just pack the string.

On the LV dashboard side it's still unbundled just not used.

You can send literal strings through the protocol by itself also, but make sure the strings aren't too big (I think there are around 900 bytes to work with).


We also use this older dashboard data system, and do not run a NetworkTables server at all on our robot (in LabVIEW). We deleted ALL references to NetworkTables (and basically everything else) and started from as low as possible.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
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:09.

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