Go to Post On these forums, there are so many people that we see working all of the time to try to help teams out, and just overall good people. To everyone who does that, thanks. - miketwalker [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-01-2017, 23:48
Lesafian Lesafian is offline
Registered User
AKA: Jeremy Styma
FRC #6077 (Wiking Kujon)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2016
Location: Posen, Michigan
Posts: 25
Lesafian is an unknown quantity at this point
Unhappy Confusion On How GRIP Works

Hi everyone, I have some confusion about GRIP.

1) How will the robot know that it needs to move into position to shoot. So let's say in my GRIP pipeline I have all of the images for the high goal on the boiler masked out with Contours. Will the the driver need to drive into a position where the camera (Lifecam-3000) can see the reflective tape, and GRIP will assume "Oh, I see a matching image to the contours for the tape, I will run [insert code here]".

2) Do I need to remask and take new pictures for every competition I go to? I've been told that teams take new pictures at every competition, mask them out, etc. Is that necessary or can I use the same images for the entire season?

I hope my questions are understandable, if not I'd be happy to clear anything up. Also I've looked and looked for code examples or tutorials. All I have been able to find is the introduction to grip screensteps tutorial, which doesn't really show anything but putting out values from images.

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2017, 08:20
YairZiv's Avatar
YairZiv YairZiv is online now
Registered User
FRC #5951 (Makers Assemble)
Team Role: Programmer
 
Join Date: Oct 2016
Rookie Year: 2016
Location: Tel Aviv, Israel
Posts: 35
YairZiv is an unknown quantity at this point
Re: Confusion On How GRIP Works

Quote:
Originally Posted by Lesafian View Post
Hi everyone, I have some confusion about GRIP.

1) How will the robot know that it needs to move into position to shoot. So let's say in my GRIP pipeline I have all of the images for the high goal on the boiler masked out with Contours. Will the the driver need to drive into a position where the camera (Lifecam-3000) can see the reflective tape, and GRIP will assume "Oh, I see a matching image to the contours for the tape, I will run [insert code here]".

2) Do I need to remask and take new pictures for every competition I go to? I've been told that teams take new pictures at every competition, mask them out, etc. Is that necessary or can I use the same images for the entire season?

I hope my questions are understandable, if not I'd be happy to clear anything up. Also I've looked and looked for code examples or tutorials. All I have been able to find is the introduction to grip screensteps tutorial, which doesn't really show anything but putting out values from images.

Thanks!

1) You can do something like that, your driver gets into a position to shoot where he can also see the reflective tape, then press a button that's function is to run the pipeline, turn to center on the boiler and calculate the power to shoot, that way it won't be active all the time and will take up less CPU and bandwidth.

2) It's probably a good idea, yes, because every competition you go to the lighting will be different, so the color you receive back from the tape will be a little different. Take a few pictures, find the new values for the color and everything else should be the same.
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2017, 08:43
vScourge's Avatar
vScourge vScourge is offline
Videogame Developer
AKA: Adam Pletcher
FRC #4096 (Ctrl-Z)
Team Role: Coach
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Champaign, IL
Posts: 41
vScourge is on a distinguished road
Re: Confusion On How GRIP Works

Adding to #2, I'm not sure how exactly you would use still images... However, every competition should allow teams some "field calibration" time. You can take your robot onto the field, turn it on and calibrate your GRIP filter settings for that environment.

Last edited by vScourge : 21-01-2017 at 09:03.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2017, 11:10
YairZiv's Avatar
YairZiv YairZiv is online now
Registered User
FRC #5951 (Makers Assemble)
Team Role: Programmer
 
Join Date: Oct 2016
Rookie Year: 2016
Location: Tel Aviv, Israel
Posts: 35
YairZiv is an unknown quantity at this point
Re: Confusion On How GRIP Works

Quote:
Originally Posted by vScourge View Post
Adding to #2, I'm not sure how exactly you would use still images... However, every competition should allow teams some "field calibration" time. You can take your robot onto the field, turn it on and calibrate your GRIP filter settings for that environment.
Yeah, that would help as well, and I said picture because if you take an image using the robot's camera you could tweak the values even outside of the field.
Reply With Quote
Reply


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 13:16.

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