|
Re: Saving Pictures And Other Data During A Match
We have a button on the SmartDashboard so our drivers can save camera images to the roboRIO during practice matches. We then use ftp to download them for offline processing or read/process the saved images on the roboRIO and post the results.
To save images:
Code:
NIVision.RGBValue rgbValues = new NIVision.RGBValue();
NIVision.imaqWriteFile(currentImage, "/home/lvuser/image" + imageCounter + ".jpg", rgbValues);
To read images:
Code:
NIVision.imaqReadFile(currentImage, "/home/lvuser/image" + imageCounter + ".jpg");
__________________
2015 Newton Semi-Finalist (3130, 2468, 3310, 537)
2015 Lubbock Regional Winner (2468, 3310, 4799)
2014 Galileo Quarter-Finalist (2052, 70, 3310, 3360)
2014 Colorado Regional Winner (1138, 3310, 2543)
2013 Texas Robot Roundup Winner (3310, 624, 2848)
2013 Archimedes Semi-Finalist (126, 3310, 1756)
2013 Dallas Regional Winner (148, 3310, 4610)
2012 Dallas West Regional Winner (935, 3310, 4206)
|