View Single Post
  #7   Spotlight this post!  
Unread 04-03-2014, 07:56
AlexBrinister AlexBrinister is offline
Registered User
AKA: Alex Brinister
FRC #1768 (RoboChiefs)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Bolton, MA
Posts: 93
AlexBrinister will become famous soon enough
Re: How does NetworkTables work?

Oh okay I see. The PID object makes more sense to me because P, I, and D are just values whereas stuff like motor actuators and subsystems are objects. I suppose that object serialization is sort of the same thing because the goal is to send critical data fields from the object over a network not necessarily the whole object. I suppose NetworkTables is a work-around for Java ME which doesn't support object serialization. I would expect with the new control system, NetworkTables for Java at least will not be as complex seeing as Java SE has a native serializing interface. I think it is still relevant in the C++ version of the library because C++ has no built-in serialization interface so one needs to implement one in order to send data fields from objects over a network.

Alex Brinister