-
Notifications
You must be signed in to change notification settings - Fork 60
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
adds routing graph argument to the functions that use routing graph #1458
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Checklist for reviewers ☑️All references to "You" in the following text refer to the code reviewer.
|
HansRobo
force-pushed
the
refactor/add_routing_graph_argument
branch
from
November 25, 2024 09:19
1ba74dd
to
4dedb32
Compare
HansRobo
changed the title
add routing graph arguments to HDMapUtils class member functions
add routing graph arguments to Nov 26, 2024
HDMapUtils
class member functions
HansRobo
added
wait for regression test
bump patch
If this pull request merged, bump patch version of the scenario_simulator_v2
labels
Nov 26, 2024
HansRobo
changed the title
add routing graph arguments to
adds routing graph argument to the functions that use routing graph
Nov 27, 2024
HDMapUtils
class member functions
HansRobo
added
bump major
If this pull request merged, bump major version of the scenario_simulator_v2
and removed
wait for regression test
bump patch
If this pull request merged, bump patch version of the scenario_simulator_v2
labels
Nov 27, 2024
hakuturu583
requested changes
Nov 27, 2024
simulation/traffic_simulator/include/traffic_simulator/hdmap_utils/hdmap_utils.hpp
Show resolved
Hide resolved
simulation/traffic_simulator/include/traffic_simulator/data_type/routing_configuration.hpp
Outdated
Show resolved
Hide resolved
hakuturu583
approved these changes
Nov 27, 2024
Quality Gate passedIssues Measures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Abstract
This pull-request adds routing graph argument to the listed functions
Detail
HDMapUtils
classfunctions with routing graph type added as an argument
canChangeLane
getAlongLaneletPose
getConflictingLaneIds
getFollowingLanelets
getLaneChangeableLaneletId
getPreviousLanelets
getSpeedLimit
matchToLane
toLaneletPose
toLaneletPoses
functions with routing configuration added as an argument
The original argument
allow_lane_change
was combined with the added new routing graph type argument to create therouting configuration argument.
countLaneChanges
getLateralDistance
getLongitudinalDistance
getRoute
traffic_simulator::distance
namespaceThe original argument
allow_lane_change
was combined with the added new routing graph type argument to create therouting configuration argument.
countLaneChanges
lateralDistance
longitudinalDistance
boundingBoxLaneLateralDistance
boundingBoxLaneLongitudinalDistance
Note
changes to these functions are breaking interface
traffic_simulator::pose
namespaceThe original argument
allow_lane_change
was combined with the added new routing graph type argument to create therouting configuration argument.
relativeLaneletPose
boundingBoxRelativeLaneletPose
Note
changes to these functions are breaking interface
traffic_simulator::lanelet_pose
namespaceThe original argument
allow_lane_change
was combined with the added new routing graph type argument to create therouting configuration argument.
CanonicalizedLaneletPose::getAlternativeLaneletPoseBaseOnShortestRouteFrom
References
Regression Test: OK
Destructive Changes
The functions listed below are not backward compatible
traffic_simulator::distance::countLaneChanges
traffic_simulator::distance::lateralDistance
traffic_simulator::distance::longitudinalDistance
traffic_simulator::distance::boundingBoxLaneLateralDistance
traffic_simulator::distance::boundingBoxLaneLongitudinalDistance
traffic_simulator::pose::relativeLaneletPose
traffic_simulator::pose::boundingBoxRelativeLaneletPose
migration guide
The penultimate argument,
allow_lane_change
, has been changed torouting_configuration
.This is a destructive change because I can't use default arguments except for the last one.
allow_lane_change
: falsebefore
after
allow_lane_change
: truebefore
after
Known Limitations
None