Quote:
Originally Posted by SuperMario
I'm not sure what you are asking, but you can access the ip of the camera and see the feed from any computer.
|
k, nevermind, thread derail again... (Forgot to add the axis intenet camera module)
how do i instantiate a network table?
cameraTable = NetworkTable.getTable("RoboRealm");
gives me an error
Illegal State Exception : network table already initialized
(if i catch the error, it does nothing)
e/ nevermind.
current problem =
Code:
public void testPeriodic() {
enabledPeriodic();
NetworkTable server = NetworkTable.getTable("SmartDashboard");
try
{
System.out.println(server.getNumber("IMAGE_COUNT", -1.0));
}
catch (TableKeyNotDefinedException ex)
{
}
}
continually prints -1
my robo builder setup:
Axis_Internet_Camera 10.16.84.11
Threshhold 200-255 (sat)
Fill 500
Convex Hull
set IMAGE_COUNT = /SmartDashboad/IMAGE_COUNT
Network_Tables (port 1765, ip 10.16.84.2, send : IMAGE_COUNT)