-
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
Fixes in PolylineWalker #5135
Fixes in PolylineWalker #5135
Conversation
@th3w4y, thanks for your PR! By analyzing the annotation information on this pull request, we identified @mjmadsen and @solderzzc to be potential reviewers |
@th3w4y Thank you. |
step = super(PolylineWalker, self).step() | ||
if not (distance(self.pol_lat, self.pol_lon, self.dest_lat, self.dest_lng) > 10 and step): | ||
return False | ||
|
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.
There is branch without any return statement.
10 meters is also a problem for me. There might be less than that between the last steps of the polyline. I would prefer we make sure we reached the final step of the polyline.
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.
I corrected it..
@th3w4y can you rebase? @solderzzc put some changes in to polyline_walker |
@mjmadsen i rebased... |
With these changes, now the problem is that movements are chaotics just like the screenshot of @solderzzc . |
@anakin5 check last commit I believe this was causing the whole thing... 8f7f22c This should fix also the @solderzzc screenshot he attached #5132 |
Yes looks better :) |
Yes, it is working fine |
Scenario:
Issue:
Fixes:
Additional very Important Fixes: