View Single Post
  #3   Spotlight this post!  
Unread 24-01-2013, 22:22
ktrobotcreator's Avatar
ktrobotcreator ktrobotcreator is offline
Programmer
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Jul 2012
Rookie Year: 2007
Location: Colorado
Posts: 38
ktrobotcreator is an unknown quantity at this point
Re: Issues with image processing with RoboRealm and Network Tables

Quote:
Originally Posted by Arhowk View Post
Im playing with it and its extremely buggy. IMAGE_COUNT will return the number of images processed. The variable you want is BOUNDARY_COORDINATES which is generated when using a blob_filter or a blob_replace

but the issue im currently working with is that RoboRealm only sends BOUNDAY_COORDINATES once than stops sending it.
Hey, I'm one of the Shazbots programmers. We do want IMAGE_COUNT just for testing purposes to make sure things are behaving correctly.

So by the end of the night, we found out some interesting things.

1. In order for things to behave correctly, you must close run the code and THEN open RoboRealm.
2. Almost all of the RoboRealm default variables are strings, so it sometimes breaks when you try to use getNumber(). (But it doesn't always break.)
3. RoboRealm seems to have issues with variables...

Really, we had one variable switch between a String and a Decimal (defined by RoboRealm) because the variable above was a String and below was a Decimal, so it kept alternating between the two values. We don't know why.

Has anyone else gotten this working? Or does anyone else have these problems?

Last edited by ktrobotcreator : 24-01-2013 at 22:29.
Reply With Quote