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

Altitude issues #4250

Open mjmadsen opened this issue 10 years ago • 12 comments

It appears we are not reading or writing the altitude from the last known location. Getting 0.0 on startup. Looking into it.

Edit: Merged a few bits to update last-location properly. Still not loading alt correctly at bot startup.

mjmadsen avatar Aug 19 '16 18:08 mjmadsen

I also notice Follow Path does not follow Altitude.

halsafar avatar Aug 19 '16 21:08 halsafar

Are these valid? https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/pokemongo_bot/walkers/step_walker.py#L23 https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/pokecli.py#L500-L508

kanemasa1987 avatar Aug 20 '16 02:08 kanemasa1987

@kanemasa1987 yes.

@halsafar I'll look through and see where we're not applying alt and make a PR.

mjmadsen avatar Aug 20 '16 03:08 mjmadsen

Sounds to be this. https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/pokemongo_bot/init.py#L1048 "Edited" Here aswell https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/pokemongo_bot/init.py#L710

kanemasa1987 avatar Aug 20 '16 03:08 kanemasa1987

Included fixes at #3912

kanemasa1987 avatar Aug 20 '16 05:08 kanemasa1987

Thanks @kanemasa1987

mjmadsen avatar Aug 20 '16 06:08 mjmadsen

@mjmadsen close?

k4n30 avatar Aug 20 '16 06:08 k4n30

still does not follow altitude on follow path mode

2016-08-20 12:07:03,243 [FollowPath] [INFO] [position_update] Walk to (50.87303, 8.03012, 0) now at (50.87333615656404, 8.030233476519202, 0), distance left: (34.9618206337 m) ..

ckrmml avatar Aug 20 '16 10:08 ckrmml

Seems the printing is not correct. https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/pokemongo_bot/cell_workers/follow_path.py#L139-L148

kanemasa1987 avatar Aug 20 '16 12:08 kanemasa1987

Added fix at #4350

kanemasa1987 avatar Aug 20 '16 12:08 kanemasa1987

@k4n30 Leave up for now.

mjmadsen avatar Aug 20 '16 14:08 mjmadsen

Ah, closing for now. Let new alt issues be their own bug issue.

mjmadsen avatar Aug 20 '16 16:08 mjmadsen