I am having the same problem. I started with Daisy's vision code from last year and have modified it to fit our needs. The following line
Code:
Robot.getTable().putNumber("azimuth", azimuth);
prints a value to the SmartDashboard but I cannot retrieve the value from the robot side code:
Code:
SmartDashboard.getNumber("azimuth");
but i get an error saying that there is no such key. I played with this alot until I gave up and tried the NetworkTables method
here but i can't seem to get it to work either.
With the following lines, I lose camera feed on the SmartDashboard:
Code:
NetworkTable.setClientMode();
NetworkTable.setIPAddress("10.35.2.2");
NetworkTable table = NetworkTable.getTable("visiondata");
.
.
.
table.putNumber("azimuth", azimuth);
When I comment out the first 2 of those 3, I get my camera stream back but still no data output.
Any ideas??