PokemonAutomation / Arduino-Source

MIT License
21 stars 58 forks source link

Direction detector #463

Closed jw098 closed 2 months ago

jw098 commented 3 months ago

This can detect and change player direction, based on detecting the N symbol in the minimap.

At first, I tried waterfilling the entire green portion of the compass, then the N. But then I found that directly waterfilling the N works just as well (this is why I made match_filters_by_waterfill, but it ended up being unused in the end). It will only detect the N symbol if it's a certain distance away from the radar ball, which should help to minimize false positives.