Hi, I am a beginner programmer for Team 1444, and we are trying to capture an image from the Axis camera and then save it to the cRIO. I have seen some other posts around, but looking through the FIRST documentation, we can't seem to figure out how that would work. We have the live video streaming correctly to the driver station, and we are using c++. We don't care where the image is saved to (the home directory is fine). Would anyone be able to provide some advice and/or a code example which would be much appreciated?
By the way, we directly took the code from FIRST's WPILib Guide for the 2012 Vision System, and it seems like this line is what saves the image, but we never find the image in the cRIO's file system(
ftp://10.14.44.2):
HSLImage *targetImage = new HSLImage("/testImage.png"); // create image
I am unsure as to what this is supposed to be doing, but it looks like this should save the image , right? What could be wrong?