UBC-Thunderbots / Software

Robot Soccer Playing AI
http://www.ubcthunderbots.ca
GNU Lesser General Public License v3.0
49 stars 99 forks source link

Penalty kick play Python test #3050

Open aviwad opened 8 months ago

aviwad commented 8 months ago

Description of the task

Currently, penalty_kick_play.cpp does not have any Python test / validation. Need to create and work on penalty_kick_play_test.py. A good starting point would be penalty_kick_play_test.cpp.

Acceptance criteria

Blocked By

itsarune commented 8 months ago

Here's some advice to help get started:

  1. Create a pytest first using the other pytests as a base model
  2. Get the pytest running with no validation on Thunderscope
  3. Think about validation while thinking of ssl robocup rules (https://ssl.robocup.org/rules/)

Refer to the discord thread discussion for details about validation

  1. Write validation and check for any rules violations (good penalty kick invariants: robot doesn't dribble for more than a meter, robot obeys SETUP and NORMAL_START referee rules, robot doesn't enter robot enemy zone)