-
Notifications
You must be signed in to change notification settings - Fork 53
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
Altitude not set for address #213
Comments
I think this could be extended to altitude is ONLY set when using geolocation on in it (i.e. It's not correctly set on each step either). The only way I've found how to do this is call Google's elevation api every time we set the location. |
Stating the obvious here but don’t forget to add a random value that is generated once per bot session to the altitude you’re getting this way. I’d suggest something like |
I think pgoapi just sets altitude to 8 anyway regardless of what you set it to (see rpc_api.py). @andythorne maybe get target fort altitude and then interpolate as bot moves? |
maybe @wchill can commit to fix to the api and set 8 only if altitude is not set |
I REALLY doubt Niantic checks/will ever check exact altitude for a location. This is a pretty low priority issue IMO. |
Expected Behavior
Altitude is set for all locations
Actual Behavior
When an address is specified for start location (
"Central Park, New York, NY"
), altitude is set to 0,if the coords of this address are used (
"40.7711329,-73.97418739999999"
) altitude is looked up and set.Steps to Reproduce
start bot with non-coord location
Other Information
OS: Debian Testing
Git Commit: 7036153
The text was updated successfully, but these errors were encountered: