Go to Post We design for being on a dysfunctional alliance: all the time. - boomergeek [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 13-01-2014, 07:49
owltheory owltheory is offline
Registered User
FRC #2172
 
Join Date: Jan 2014
Location: Ohio
Posts: 6
owltheory is an unknown quantity at this point
NetworkTables omitted from 2014 Netbeans plugins?

Greetings all!

Given the need to detect hot goals in this competition, our team has decided to put more priority on getting tracking to work this year.

We were considering going the Roborealm route, since we're not as familiar with OpenCV and, after research, using some sort of coprocessor seemed like the best idea. (If you have any suggestions for that, we'd be glad to hear them, but obviously there are plenty of other threads for that specific purpose)

However, it appears that the NetworkTables classes are no longer included in the API for FIRST. We checked machines that have not yet been updated, and the classes are there, but on our personal machines with the updated plugins, the class is not recognized.

Does anyone know if we're not supposed to use NetworkTables this year or something? An alumnus of the team thought he remembered something about Network Tables hogging bandwidth.

Thanks, any help is greatly appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2014, 08:02
vgdude999 vgdude999 is offline
Programmer/Driver
FRC #1751 (Comsewogue Warriors)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Port Jefferson Station, NY
Posts: 25
vgdude999 is an unknown quantity at this point
Re: NetworkTables omitted from 2014 Netbeans plugins?

Try deleting the sunspotfrcsdk directory and reinstalling the plugins. I have NetworkTables running fine.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2014, 09:30
owltheory owltheory is offline
Registered User
FRC #2172
 
Join Date: Jan 2014
Location: Ohio
Posts: 6
owltheory is an unknown quantity at this point
Re: NetworkTables omitted from 2014 Netbeans plugins?

Really? I did as you said on Arch Linux, to the extreme-- I uninstalled netbeans 7.4, deleted the sunspotfrcsdk directory, deleted the .netbeans directory, reinstalled netbeans and the plugins, and there was no difference.

I also rebooted into windows, running Netbeans 7.3.1, and updated the plugins. I actually saw the class go away.

I attached a picture of the list I have.
Note: despite it saying FRC 2013, I do have the 2014 plugins downloaded from here:
http://first.wpi.edu/FRC/java/WPILibJ2014.0.zip

Thanks for your help, I really appreciate it.
Attached Thumbnails
Click image for larger version

Name:	proof.png
Views:	23
Size:	99.3 KB
ID:	15823  
Reply With Quote
  #4   Spotlight this post!  
Unread 13-01-2014, 10:08
vgdude999 vgdude999 is offline
Programmer/Driver
FRC #1751 (Comsewogue Warriors)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Port Jefferson Station, NY
Posts: 25
vgdude999 is an unknown quantity at this point
Re: NetworkTables omitted from 2014 Netbeans plugins?

Huh, that's really weird... I'll see what I can do after school when I get to my laptop (currently using a school-issued chromebook while my computer science teacher is talking to people lol).

EDIT: Try adding the plugins to netbeans as described here under "Setting the internet plugin location in NetBeans." If this doesn't work, I guess I could send you the libraries later.

Last edited by vgdude999 : 13-01-2014 at 10:59.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-01-2014, 12:55
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: NetworkTables omitted from 2014 Netbeans plugins?

Quote:
Originally Posted by owltheory View Post
However, it appears that the NetworkTables classes are no longer included in the API for FIRST. We checked machines that have not yet been updated, and the classes are there, but on our personal machines with the updated plugins, the class is not recognized.
It looks like they did not include the NetworkTables source when building the javadocs. However, it is included in the projects and still accessible from your robot code.

Quote:
Does anyone know if we're not supposed to use NetworkTables this year or something? An alumnus of the team thought he remembered something about Network Tables hogging bandwidth.
There have been bugs in the past with specific implementations of NetworkTables, for example C++ last year. However, they are not banned.
Reply With Quote
  #6   Spotlight this post!  
Unread 13-01-2014, 15:37
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: NetworkTables omitted from 2014 Netbeans plugins?

Until we make another update, you can find the source code and java docs with only a few small differences in the <user-dir>\sunspotfrcsdk\desktop-lib directory. I think it's only different by a few lines that use the JavaME vs JavaSE sockets.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #7   Spotlight this post!  
Unread 14-01-2014, 04:58
owltheory owltheory is offline
Registered User
FRC #2172
 
Join Date: Jan 2014
Location: Ohio
Posts: 6
owltheory is an unknown quantity at this point
Re: NetworkTables omitted from 2014 Netbeans plugins?

Quote:
Originally Posted by Joe Ross View Post
It looks like they did not include the NetworkTables source when building the javadocs. However, it is included in the projects and still accessible from your robot code.

There have been bugs in the past with specific implementations of NetworkTables, for example C++ last year. However, they are not banned.
Ah, thank you very much for point this out. I could have sworn someone tried to compile with an instance of NetworkTable and the compiler yelled at him, but clearly this is not the case.

Also, thanks for the tip, Brad.

Thank you all very much for your help.
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 09:34.

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