4.3.8
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
--