renamed /getMeteoroid to /getMeteoroids

small corrections in ip daemon
This commit is contained in:
Joel Klimont 2021-10-06 00:19:58 +02:00
parent 89d681d10f
commit 436ef35d46
7 changed files with 30 additions and 16 deletions

View file

@ -101,7 +101,7 @@ Calling Double Elimination API
score, status = DoubleElim.get_score()
print(f"The current score of the game is {score}, the server responded with status code: {status}")
meteoroids, status = DoubleElim.get_meteoroid()
meteoroids, status = DoubleElim.get_meteoroids()
print(f"The current meteoroids in the game are {meteoroids}, the server responded with status code: {status}")
In this second example we wait until the game is started by the judges and then make all possible requests once. You should use the wait_for_start function in your double elimination program. If your robot starts too soon your run will not count!