Quote:
Originally Posted by JBotAlan
.
Glad to hear I'm helping. I'd rather have an opponent with an autonomous mode that's better (or at least as good as...  ) mine, instead of my team winning because nobody else had an autonomous mode.
JBot
|
Lol, you're right
About the dead zone: the dead zone is the range of centroids that the camera will not rotate to. I mean, it is the range that the camera won't bother to rotate because the change of the centroid is very small. In this example the range is between 112-128 in centroid_y. That means if the camera is looking at 112 but the centroid is at 124 then it won't bother to move, and this avoids bouncing. The problem witch I thought about is when the camera is very close to the light, then the dead zone has to be a lot bigger. But I think it's fine without the sophisticated dynamic dead zone
