UBC-Thunderbots / Software

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

Better Ball Update #3206

Closed Mr-Anyone closed 3 days ago

Mr-Anyone commented 1 month ago

Description

Implemented a feature so that the ball update is a bit better than before. The idea is the to calculate the distance between the robot that has a breakbeam trigger and the ball. If that distance is too big, we know for sure that the breakbeam is at fault and we ignore updating the ball using the position of the robot!

Testing Done

Write some stuff in the src/software/sensor_fusion/sensor_fusion_test.cpp . Probably needs field testing. I am ran thunderscope and thunderscope seems to be stable.

Resolved Issues

resolves #3197

Length Justification and Key Files to Review

N/A

Review Checklist