IntelligentRoboticsLab / dnt-hulk

GNU General Public License v3.0
5 stars 0 forks source link

Add angle into the calculation for striker take over distance #51

Open Fyor opened 1 year ago

Fyor commented 1 year ago

This function is is used to calculate when we should take over the striker roll. https://github.com/IntelligentRoboticsLab/dnt-hulk/blob/main/crates/control/src/role_assignment.rs#L618-L627

If a non-striker is not closer, but more aligned than the striker, and close enough, he should also take the roll.