Go to Post your time is better spent in the stands, watching what the robots actually do, as opposed to listening to the builders talk about what they're [I]supposed[/I] to do. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2016, 17:29
szsz9 szsz9 is offline
Registered User
FRC #6000
 
Join Date: Feb 2016
Location: Los Angeles, CA
Posts: 5
szsz9 is an unknown quantity at this point
Deploy GRIP without RoboRio?

Hi,

We are trying to write the image recognition part of our robot using Eclipse, GRIP, and a webcam plugged into a Raspberry Pi. We have everything hooked up, but don't have access to our RoboRio right now. When we were connected to our RoboRio, we ran by using the WPILib Deploy option. But this doesn't work without the RoboRio. Is there a way to run this without it? We just want to test our image recognition code (i.e. read Network Tables from GRIP).

Thanks for any help.
  #2   Spotlight this post!  
Unread 15-02-2016, 21:40
joeojazz joeojazz is offline
Registered User
FRC #5712
 
Join Date: Jan 2016
Location: Hemlock
Posts: 42
joeojazz is an unknown quantity at this point
Re: Deploy GRIP without RoboRio?

Did you try these steps.
https://github.com/WPIRoboticsProjec...-yellow-square!
  #3   Spotlight this post!  
Unread 16-02-2016, 01:28
szsz9 szsz9 is offline
Registered User
FRC #6000
 
Join Date: Feb 2016
Location: Los Angeles, CA
Posts: 5
szsz9 is an unknown quantity at this point
Re: Deploy GRIP without RoboRio?

Yes, we have our GRIP Program done, and we are trying to integrate it into our Robot code. Looking at this page for Run GRIP from Java, it says we need to deploy to roboRIO first. We are wondering if there is a way to avoid this if all we want to do is be able to read the Network Tables from our GRIP software running on Raspberry Pi.

We followed these instructions to install GRIP on Rasberry Pi, and we can successfully see the streamed images in a web browser. But we are having problems running our GRIP program on the Raspberry Pi (it runs, but we are getting errors that we are trying to debug).
  #4   Spotlight this post!  
Unread 16-02-2016, 17:16
ThomasClark's Avatar
ThomasClark ThomasClark is offline
Registered User
FRC #0237
 
Join Date: Dec 2012
Location: Watertown, CT
Posts: 146
ThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud of
Re: Deploy GRIP without RoboRio?

Quote:
Originally Posted by szsz9 View Post
Yes, we have our GRIP Program done, and we are trying to integrate it into our Robot code. Looking at this page for Run GRIP from Java, it says we need to deploy to roboRIO first. We are wondering if there is a way to avoid this if all we want to do is be able to read the Network Tables from our GRIP software running on Raspberry Pi.
So you're trying to preview the networktables outputs without a robot program, right? Check out the wiki page on using OutlineViewer for that.
__________________
GRIP (Graphically Represented Image Processing) - rapidly develop computer vision algorithms for FRC
  #5   Spotlight this post!  
Unread 20-02-2016, 22:18
szsz9 szsz9 is offline
Registered User
FRC #6000
 
Join Date: Feb 2016
Location: Los Angeles, CA
Posts: 5
szsz9 is an unknown quantity at this point
Re: Deploy GRIP without RoboRio?

Quote:
Originally Posted by ThomasClark View Post
So you're trying to preview the networktables outputs without a robot program, right? Check out the wiki page on using OutlineViewer for that.
Well, we want to test that the vision processing part of our Robot program is working correctly. We did see the Wiki page, but our situation is a bit different. We are happy with our GRIP pipeline and we have GRIP on the Rasbperry Pi. But what we want to see if the actual Robot code we are writing can read from the Network Tables produced by the GRIP pipeline on the Rasperry Pi (without having the RoboRio hooked up.) We can't figure out a way to do it because it seems we can't deploy without RoboRio.

The tutorial you pointed to works, but that is not using our program to read our GRIP pipeline. We want to test if OUR program can read from GRIP on Raspberry Pi.

Thank you for your response.
  #6   Spotlight this post!  
Unread 20-02-2016, 23:23
ThomasClark's Avatar
ThomasClark ThomasClark is offline
Registered User
FRC #0237
 
Join Date: Dec 2012
Location: Watertown, CT
Posts: 146
ThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud of
Re: Deploy GRIP without RoboRio?

Quote:
Originally Posted by szsz9 View Post
The tutorial you pointed to works, but that is not using our program to read our GRIP pipeline. We want to test if OUR program can read from GRIP on Raspberry Pi.

Thank you for your response.
GRIP will work fine whether or not you're running a robot program, but if you want to test if your actual robot code works, you need to run it. You might find what you're looking for with FRCSim.
__________________
GRIP (Graphically Represented Image Processing) - rapidly develop computer vision algorithms for FRC
Closed Thread


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 01:29.

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