![]() |
Processing video feed with GRIP on DS Laptop
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. |
Re: Processing video feed with GRIP on DS Laptop
Quote:
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. |
Re: Processing video feed with GRIP on DS Laptop
Our team had this problem last year. We fixed it by running our grip file on a raspberry pi that we put on the robot so as to not overload the roborio. We were then able to stream our video feed to the driver station by connecting an IP camera through smart dashboard.
|
Re: Processing video feed with GRIP on DS Laptop
Quote:
|
Re: Processing video feed with GRIP on DS Laptop
Thanks for the replies, the stuttering-motor issue was not due to RoboRio CPU usage, but from motor controllers receiving multiple signals due to a couple misplaced brackets.
Quote:
https://wpilib.screenstepslive.com/s...raserver-class and https://wpilib.screenstepslive.com/s...-robot-program The GRIP code was just a simple pipeline to find retro-reflective tape. |
| All times are GMT -5. The time now is 12:34. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi