Improve ball filter when the ball is occluded #3381
Labels
Difficulty - 13
Require a good understanding of relevant systems and tools, and may require some pathfinding
Gameplay
Description of the task
Due to the type of lens used in the camera and the size of the field, there are certain areas near the edges of the field where the robot's "shadow" hides the ball from vision. We call this "occlusion".
When the ball is occluded,
SensorFusion
won't provide aBall
. This causesSensorFusion
to not sendWorld
s to AI and not send primitives to robots. We should try to make a best-effort guess at where the ball is, rather than not predicting at all.We could try to:
We should also look into ball filter implementations of other teams (Er-Force, TIGERs) and see if their approach is better. Their implementations are open-source. In addition, tdpsearch.com might be helpful to find the Technical Description Papers of other teams, and see how they handles cases when the ball is occluded.
Acceptance criteria
ball_filter
to handle occluded ballsball_filter_test.cpp
./tbots.py run thunderscope_main --enable_autoref --enable_realism
and observe how occluded balls are handled.--enable_realism
adds some extra simulation sugar to occasionally drop vision packets among others.Blocked By
Related to
#3056
The text was updated successfully, but these errors were encountered: