Quote:
Originally Posted by woodk
Has anyone got the CameraToDashboardExample to actually work? I can compile it but I get nothing on the DriverStation. I notice that the driverstation program changes your IP address to 10.xx.yy.5 however the CameraToDashboardExample program says it is sending the images to 10.xx.yy.6 I tried setting up a remote dashboard with the IP10.xx.yy.6 but it is not able to connect to the robot at all.
Since there is no source code available yet, I can't change the code to send to 10.xx.yy.5.
Any I missing something, or should I just be patient and wait for a fix to be released?
|
Also, I can't be 100% sure about this because I don't have access to our robot right now, but I think all you need to do to populate the video box in the dashboard program is insert this in your code:
Code:
AxisCamera &camera = AxisCamera::getInstance();
camera.writeResolution(k320x240);
camera.writeBrightness(0);
Of course, adjust resolution and brightness as necessary.
According to WPI_Library_Users_Guide.pdf found on:
http://first.wpi.edu/FRC/frccupdates.html
All you need to do to populate that field is to call the camera getInstance method somewhere in your code.