Skip to content

7.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Dec 08:08
· 17 commits to master since this release

Abstract

This PR contains the continuation of #1443

Details

  1. There is no longer lanelet::Id passed into TrafficSink, but an optional<lanelet::Id>. It is still used solely for the purpose of visualization, where nullopt means that the sink was placed too far from the lane. Resigning from passing lanelet::Id altogether turned out to be problematic, because ends of multiple lanelets overlap and the corresponding lanelet could not be determined.
  2. Additionally I would like to propose an alternative approach to the set sinkable_entity_types variable.
  3. I have removed the special case if sinkable_entity_types is empty, then all entities should sink. In my opinion it could be misleading (someone could pass empty sinkable_entity_types and expect that no sinking behavior will occur). Now if we want to sink all entities, we need to provide the full set sinkable_entity_types.
  4. I have removed the bool auto_sink variable, which could be equivalent to sinkable_entity_types.empty() with this approach.
  5. The default behavior is sinkable_entity_types = {}, that is no auto sinks are generated.

References

Regressions OK

Related Issues