Quote:
Originally Posted by androb4
What I basically did was, I took all the camera vi's from the 'Begin.vi' in a FRC Project, and put it inside the 'Vision Processing.vi' from the 'Retangular Target Processing' template. I removed the 'Set Registery.vi' and 'Get Registery.vi' and just wired the two sections together. Then I sent the 'Target Info' Cluster/Array, through UDP port 1130 to 10.te.am.2 (cRio), and made a UDP receive vi in a separate loop.
|
Actually, there's an easier way to get the camera image on the dashboard. If you look in the default LV dashboard, the camera stream is already fetched from the robot. The code already has a Camera Read MJPEG VI in it, which you can also use to do processing. Sending the same image a second time over a different connection is unnecessary and bandwidth-heavy. I would also assume that similar functionality exists in other dashboard software as well, although I don't have direct experience with them.