|
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
|