Skip to content

4.3.8

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Oct 10:23
· 9 commits to master since this release

Description

In traffic_simulator::pose::isInLanelet comparison between distances and tolerance should be done with "<=" operator.

Abstract

In traffic_simulator::pose::isInLanelet to compare distance_to_start_lanelet_pose and distance_to_end_lanelet_pose with tolerance operator "<" is used. This can possibly lead to wrong result when tolerance is 0 and one of the measured distances is also 0, which means pose is in lanelet (start or end of it). If this is not expected behaviour operator "<=" should be used.

Details

I've changed operator "<" to "<=" in traffic_simulator::pose::isInLanelet function.

Destructive Changes

--

Known Limitations

--

Related Issues