-
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
RJD-1457/traffic_sink_refactor #1464
Conversation
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
Signed-off-by: Masaya Kataoka <[email protected]>
… into feature/enable_specify_entity_type_in_autosink
…pe_in_autosink' into feature/enable_specify_entity_type_in_autosink
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.
LGTM
Since this PR is a continuation of #1443, I am currently checking with the reviewer of the original PR, @yamacir-kit, to see if a review by him is needed. |
Quality Gate passedIssues Measures |
Abstract
This PR contains the continuation of #1443
Details
lanelet::Id
passed into TrafficSink, but anoptional<lanelet::Id>
. It is still used solely for the purpose of visualization, wherenullopt
means that the sink was placed too far from the lane. Resigning from passinglanelet::Id
altogether turned out to be problematic, because ends of multiple lanelets overlap and the corresponding lanelet could not be determined.set sinkable_entity_types
variable.if sinkable_entity_types is empty, then all entities should sink
. In my opinion it could be misleading (someone could pass emptysinkable_entity_types
and expect that no sinking behavior will occur). Now if we want to sink all entities, we need to provide the full setsinkable_entity_types
.bool auto_sink
variable, which could be equivalent tosinkable_entity_types.empty()
with this approach.sinkable_entity_types = {}
, that is no auto sinks are generated.References
Regressions OK