View Single Post
  #4   Spotlight this post!  
Unread 24-01-2013, 22:41
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Issues with image processing with RoboRealm and Network Tables

Quote:
Originally Posted by ktrobotcreator View Post
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?
I just sent the support peoples a couple PM and... well... everything works fine (Except for the error mentioned above)

make sure your "send variable type" is ALWAYS string, because if you try to set it to Automatic it will try to send strings as doubles which screws stuff up. I've been able to get a blob, get the corners, but when i try to send the string containing the co-ordinates it doesnt send. Make sure that your updated to 2.48.19
Reply With Quote