-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
improved stepper that walks using Google Directions API #721
Conversation
This is great work. It would make things much easier if your PR actually described the problem you are trying to solve and your changes. Having many PRs that just say Polyline isn't very helpful to reviewers |
Cloud you rebase your commits, and merge them into one commit? |
@jtdroste Thanks for the suggestion - i just learned how to do it now |
proposed_origin = polyline_walker.points[0] | ||
proposed_destination = polyline_walker.points[-1] | ||
proposed_lat = proposed_origin[0] | ||
proposed_lng = proposed_origin[1] | ||
if proposed_lat != lat and proposed_lng != lng: | ||
logger.log('[#] Using _old_walk_to to go to the proposed_origin: ' +str(proposed_origin)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use .format for args
Test code, not called, so merged. |
* improved stepper that walks using Google Directions API * improved logging
Short Description:
In order to try it, add below lines to pokecli.py
Fixes: