PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

[Dev]bot gets stuck between following path and moving to fort

Open lennart24 opened this issue 10 years ago • 5 comments

Expected Behavior

Follow Path and stop at forts to spin

Actual Behavior

get stuck between moving a fort that is not on the path and following the path. A

Steps to Reproduce

put

  {
    "type": "SpinFort"
  },
{
    "type": "MoveToFort"
  },
  {
    "type": "FollowPath"
  }

into config and wait till the bot wants to spin a fort that's not directly on the path

Other Information

newest DEV commit

Seems like the "move to fort" and the "follow path" algorithm run against each other.

lennart24 avatar Jul 31 '16 11:07 lennart24

Drop MoveToFort if you're using a path....

raxxon avatar Jul 31 '16 11:07 raxxon

Drop MoveToFort if you're using a path....

Yeah, that works. But I thougt, that FollowPath would be an alternative for FollowSpiral. So that the bot would work at the forts until they are on timeout and then gonna continue following the given path.

lennart24 avatar Jul 31 '16 11:07 lennart24

You're giving the code too much intelligence. ;) Right now these are 2 different movement paradigms and therefor are technically mutually exclusive. Basically with both active the movement goes split-brain and if the Stop that the FollowSpiral has latched on to is in opposition to your FollowPath marker then they go back and forth basically arguing over who's right and your bot goes nowhere....

raxxon avatar Jul 31 '16 11:07 raxxon

Okay, thanks! I'll take this answer as: "it's not a bug, it's a feature :P" xD Gonna plan my path more accurate so that it passes all forts that are nearby.

lennart24 avatar Jul 31 '16 11:07 lennart24

Yeah, I spent a half hour or so with Google Maps to get all the GPS points for my loop. ;)

raxxon avatar Jul 31 '16 11:07 raxxon