Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add altitude to start "location". #4626

Closed
sediyama opened this issue Aug 23, 2016 · 2 comments
Closed

Add altitude to start "location". #4626

sediyama opened this issue Aug 23, 2016 · 2 comments

Comments

@sediyama
Copy link

Expected Behavior

The bot should start at a plausible altitude.

Actual Behavior

The bot uses the X and Y coordinate an a default altitude of 8.0. There is no config option to set the altitude.

Output when issue occurred

The first step is not a real world movement, the bot Jumps from 8.0 to 814 from the same X and Y coordinate at my city, for instance:

2016-08-23 14:29:06,653 [FollowSpiral] [INFO] [position_update] Walking from (-21.139788293283125, -44.27281162751454, 8.0) to (-21.139788293283125, -44.27281162751454, 814.3644616750726) (0.0 m)
2016-08-23 14:29:07,444 [FollowSpiral] [INFO] [position_update] Walking from (-21.13976787364158, -44.27280583256709, 581.6114559948059) to (-21.139156383443474, -44.27281162751454, 822.08608593426) (67.9972716218 m)

Steps to Reproduce

Start a Bot with LOCATION set at any location at least a few meters above the sea level.

@mjmadsen
Copy link
Contributor

"location": "42.023242, -93.646352, 500.0",

@maxprzemo
Copy link

maxprzemo commented Aug 23, 2016

https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/configs/config.json.example#L193

"gps_default_altitude": 124.0,

Walking from (XX.64975234015611, XX.811034450351837, 123.71106991529021)
Walking from (XX.649789105782766, XX.81105160182908, 123.62238498739134)

"alt_min": 90,
"alt_max": 130,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants