Go to Post If you're in Israel, it might be a long flight to the nearest Walmart - MrForbes [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 14-01-2017, 21:28
AustinShalit's Avatar
AustinShalit AustinShalit is offline
Registered User
AKA: אוסטין
no team (WPILib Suite Developer)
 
Join Date: Dec 2013
Rookie Year: 2008
Location: Los Angeles/Worcester/Israel
Posts: 134
AustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of light
Re: Processing video feed with GRIP on DS Laptop

Quote:
Originally Posted by RileyC3826 View Post
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.
__________________
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi