srobo / competition-simulator

A simulator for Student Robotics Virtual Competitions
https://studentrobotics.org/docs/simulator/
MIT License
9 stars 2 forks source link

Calls to set_territory_ownership doesn't use claim_time variable #322

Closed WillB97 closed 3 years ago

WillB97 commented 3 years ago

ClaimLog.log_lock and ClaimLog.log_territory_claim use self._robot.getTime() for the claim_time argument instead of the value parsed through function calls from the packet processor. While this generally results in the same value, it's superfluous calls to Webots and result in None values being parsed in unittests.

WillB97 commented 3 years ago

This is solved in 1192dfe22be039e51cd7bbd81903e7d64bfd7194