Quote:
Originally Posted by RileyC3826
Our team wants to pursue vision processing this year. So far, I have been able to create a GRIP pipeline able to detect the position of the retro-reflective tape, and generate code to use with our main program. When running our robot, we can print the position of the tape to the smartdashboard, but we believe processing on the rio itself is causing problems (Too much CPU usage which causes motors to stutter when trying to drive them based on tape's position). We can view the cam's feed on the smartdashboard, but I don't know how to get the video feed into GRIP to process it.
We are using the Microsoft HD Lifecam 3000 and I believe have all the latest software installed, but I could have missed something.
|
Hi there! You can stream the USB camera to your dashboard by following the "Simple camera server program" example here:
https://wpilib.screenstepslive.com/s...e-roborio-2017
In GRIP you can then add an IP camera with the URL of the video stream that the robot creates. You can find this URL in OutlineViewer ({user.home}/wpilib/tools/OutlineViewer.jar).
Also, do you mind posting (or PMing me) your code? I would like to see if there is a way to get your code to run on the roboRIO without issue.