usc-m / SDP-Team-F

SDP Team F - Group 1 (NASA) and Group 16
0 stars 0 forks source link

Amend attacker strategy #28

Open koenraat opened 9 years ago

koenraat commented 9 years ago

What should be added/changed?

  1. Before kicking the ball:
    • Ask the WorldState/ControlBox (WSCB) if it should move to some other position (in case it's the task B).
    • Ask the WSCB if the defender is ready to defend.
    • When it has the ball, moved to the right position (if needed), and the defender is ready: kick.

What information does it need?

  1. X coordinate in case it is task B (null otherwise)
  2. Orientation (which direction should it face?)
  3. Is the defender ready?

What information does this share with WSCB? None?