-
Notifications
You must be signed in to change notification settings - Fork 61
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
HdMapUtils refactor lanelet_wrapper::lanelet_map::leftBound rightBound #1533
Conversation
Checklist for reviewers ☑️All references to "You" in the following text refer to the code reviewer.
|
|
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.
This Pull Request contains destructive changes “such as changes to the arguments of the distanceToLaneBound function.
Please update the Description of the Pull Request appropriately.
Be sure to include in the description the function that has undergone the destructive change and its Migration Guide.
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 searched for the distanceToLaneBound
, distanceToLeftLaneBound
and distanceToRightLaneBound
functions in #1478 description, but I cannot find them.
Description
Abstract
This is the partial PR of the HdMapUtils refactor (PR 2/6) ( #1478 )
Details
Replace usage of HdMapUtils::getLeftBound and getRightBound with non-member function lanelet_wrapper::lanelet_map::leftBound, rightBound
References
Destructive Changes
The hdmap_utils_ptr parameter has been removed from the following functions:
traffic_simulator::distance::distanceToLaneBound
traffic_simulator::distance::distanceToLeftLaneBound
traffic_simulator::distance::distanceToRightLaneBound
For the rationale behind this change, see #1478.
Migration Guide
Before (Old Signature)
After (New Signature)
The fourth parameter,
const std::shared_ptr<hdmap_utils::HdMapUtils> & hdmap_utils_ptr
, has been removed.Remove the
hdmap_utils_ptr
argument from call todistanceToLaneBound
,distanceToLeftBound
,distanceToRightBound
.Known Limitations
None.