Get the X coordinate of the destination from the WorldState/ControlBox (WSCB)
Get to the X coordinate.
Rotate so that it faces the other robot.
Tell the WSCB it's ready.
What information does it need?
X coordinate.
Orientation (which direction should it face?)
What information does this share with WSCB?
I'm ready.
Why flexible?
For the task A, the defender needs to move to the position of the ball (roughly) where the attacking robot is going anyway.
For the task B, the defender needs to move to some position decided by the WSCB which is the optimal for both of them to avoid the obstacle.
--> By reading the X coordinate from the WSCB we can use this strategy in either task.
What does it do?
What information does it need?
What information does this share with WSCB?
Why flexible?