UBC-Thunderbots / Software

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

Stop CreaseDefenderFSM from spamming logs #3227

Closed Andrewyx closed 1 week ago

Andrewyx commented 3 weeks ago

Please fill out the following before requesting review on this PR

Description

Simple bug fix that suppresses crease defender log spams for when the ball is out of bounds or within the goalie box. These cases occur when the ray between the ball and the goal does not intersect the inflated bounding box around the goalie zone.

Testing Done

Thunderscope works, no more excess logs are being spammed.

Resolved Issues

Resolves #3215

Length Justification and Key Files to Review

Review Checklist

It is the reviewers responsibility to also make sure every item here has been covered