![]() |
NetworkTables on PC
I'm trying to prototype some code using NetworkTables on my PC, without needing a cRIO. However, when I run it, I get an exception pointing to the following line in edu.wpi.first.wpilibj.networktables.ConnectionMana ger.java
Code:
server = (ServerSocketConnection) Connector.open("socket://:" + PORT); |
Re: NetworkTables on PC
You can compile the Squawk VM to run on desktop platforms. Instructions are given at http://java.net/projects/squawk/pages/BuildingSquawk with the small caveat that the SVN repository has moved to https://svn.java.net/svn/squawk~svn/trunk/. Note that this isn't a complete answer because a lot of the WPILib/FRC Framework functionality require native library calls, but it should get you very close if all you need is the NetworkTables.
Alternately, there's an effort going on at http://sourceforge.net/projects/frcsimulator/ with some alpha code to develop a "cRIO simulator" for the Java platform. |
Re: NetworkTables on PC
I found an easier way. In the smartdashboard SVN on firstforge, there is a NetworkTable Client, Server, and Robot folder. The Server did what I needed and ran on my PC.
I could only find these in the 2012 tag. They seem to have been deleted in trunk. |
Re: NetworkTables on PC
Quote:
|
| All times are GMT -5. The time now is 09:14. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi