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

Force a GeoPoint and GeoPose coordinate to be converted in a specific zonal frame c++ #42

Merged
merged 1 commit into from
May 18, 2020

Conversation

PeterQFR
Copy link
Contributor

@PeterQFR PeterQFR commented May 15, 2020

Theres been a similar request #20 to do this in the python code. This pr does it for cpp. Basically it addresses the issue of smoothness when a vehicle transitions space that straddles two utm zones. Without this change, a jump across zones can cause a euclidean distance to be several hunreds of thousands of meters apart. This change ensures that the transition is as smooth as possible.

It gives the user the ability to force the conversion to use a specific zone and band. Test case is provided, but it is noted that forcing a specific band actually doesn't do anything or change the calculation done.

@SteveMacenski
Copy link
Member

Given the default behavior stays the same, I'm inclined to merge this. However I also need you to cherry pick these updates to ROS2 branch as well to keep them synced.

@SteveMacenski SteveMacenski merged commit 9d6f1b2 into ros-geographic-info:master May 18, 2020
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

Successfully merging this pull request may close these issues.

2 participants