Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Some questions about GRIP (http://www.chiefdelphi.com/forums/showthread.php?t=142222)

iSpotix 20-01-2016 19:46

Some questions about GRIP
 
Our team has been learning GRIP and I've gotten it to publish data to the Network Tables on localhost. I think we want to run it on our Driver Station.

1. How can I find the IP address of the Network Tables server created by the roboRIO?

2. Is there a way to test for rectangularity? Either through opencv or using the perimeter and area published by GRIP.


http://imgur.com/gallery/5DmVBAM/

Say if I had this image and I wanted to filter out the other target or other extraneous blobs that we detect.

ThomasClark 21-01-2016 01:24

Re: Some questions about GRIP
 
Quote:

Originally Posted by iSpotix (Post 1527508)
Our team has been learning GRIP and I've gotten it to publish data to the Network Tables on localhost. I think we want to run it on our Driver Station.

1. How can I find the IP address of the Network Tables server created by the roboRIO?

You don't need to specify this - just set the team number and GRIP will figure it out. GRIP v1.1.0 will make this clearer by actually filling in the text in the settings dialog instead of just silently doing it.

Quote:

Originally Posted by iSpotix (Post 1527508)
2. Is there a way to test for rectangularity? Either through opencv or using the perimeter and area published by GRIP.


http://imgur.com/gallery/5DmVBAM/

Say if I had this image and I wanted to filter out the other target or other extraneous blobs that we detect.

GRIP v1.1.0 (which will probably be released within the next 24 hours) has a new solidity filter that should help with that.

Turing'sEgo 21-01-2016 02:05

Re: Some questions about GRIP
 
Check to see if GRIP has approxpoly(DP). OpenCV has it, but I am not certain about GRIP. As the name suggests, it approximates a polygon out of a contour given an epsilon tolerance. You can read about the algorithm here.


All times are GMT -5. The time now is 03:01.

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