When you add a simulated bot thru addbot it now shows up at (0,0) on the gridview. Zooming and panning and the coordinate system in the frontend are all working as expected, but since there's no system to handle the simulation all you can really do is look around.
I changed the vision handler to store info in dictionaries instead of tuples so that it can track size/angle/type instead of just coordinates. The update_location method is overloaded since it used to take a tuple and I didn't want to break anything by getting rid of it. As a result, get_location still returns a tuple but get_locations (which the gridview uses) returns a list of dictionaries.
When you add a simulated bot thru addbot it now shows up at (0,0) on the gridview. Zooming and panning and the coordinate system in the frontend are all working as expected, but since there's no system to handle the simulation all you can really do is look around.
I changed the vision handler to store info in dictionaries instead of tuples so that it can track size/angle/type instead of just coordinates. The update_location method is overloaded since it used to take a tuple and I didn't want to break anything by getting rid of it. As a result, get_location still returns a tuple but get_locations (which the gridview uses) returns a list of dictionaries.