Okay, so, our robotics team was kinda just thrown into this mess, which is fine we somewhat know what we are doing. BUT there is this one Unknown type where whenever we try and make it the type it is supposed to be it says its 'incompatible' . I'll copy and paste the code in just in case, but does anyone know what it could be? And if you see any other problems that slipped past us please tell me! Thank you!
So recognitions is a List of some type of objects, it doesn't say what type. It would be better to write
Then at line 285 you have
In your code your List is untyped so it's treated as a List of Objects. In this case the variable recognition is being assigned an Object reference. But this can't be assigned to the UNKNOWN_TYPE, and hence the error message.
So what exactly is the type you're trying to work with? I see that recognition is supposed to have a getLabel() and a getLeft() method, and probably others. You need to take the name of that type and change lines 272 and 285 to read