Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Generated GRIP code not working as expected. (http://www.chiefdelphi.com/forums/showthread.php?t=153829)

MoSadie 17-01-2017 18:26

Generated GRIP code not working as expected.
 
My team is experimenting with GRIP's generate code feature and we are having some problems with the data we are getting back. While running the pipeline on my computer gives the data we expect, the generated code is returning different numbers at the same time. Here is the pipeline that was generated and here is where we are calling it from.

SamCarlberg 17-01-2017 19:22

Re: Generated GRIP code not working as expected.
 
How different are the numbers? They won't be exactly the same that you see in GRIP, but should be pretty close.

Also, this line will throw an exception and cause your robot to crash if no contours are found. You need to check the number of contours before trying to use them.

MoSadie 17-01-2017 20:25

Re: Generated GRIP code not working as expected.
 
I ran out of time today to test to give you exact numbers. I will retest the generated code vs the computer pipeline tomorrow to make sure we didn't mess anything up.

MoSadie 19-01-2017 18:55

Re: Generated GRIP code not working as expected.
 
Nevermind, I realized that we were calling the wrong function. We were calling findCountoursOutput() instead of filterContoursOutput() ... I'm not sure how both our software mentor and I missed that. It's working great now!


All times are GMT -5. The time now is 21:40.

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