diff --git a/ad_rss_map_integration/impl/src/RssSceneCreation.cpp b/ad_rss_map_integration/impl/src/RssSceneCreation.cpp index 4bf7932f5..4739964b8 100644 --- a/ad_rss_map_integration/impl/src/RssSceneCreation.cpp +++ b/ad_rss_map_integration/impl/src/RssSceneCreation.cpp @@ -157,7 +157,8 @@ bool RssSceneCreation::appendStructuredScenes(::ad::rss::map::RssSceneCreator &s { // for the analysis we are only interested in the near term route auto shortenedRoute = egoRouteInput; - ::ad::map::route::shortenRouteToDistance(shortenedRoute, predictionLength); + ::ad::map::route::shortenRouteToDistance(shortenedRoute, + std::max(predictionLength, ::ad::physics::Distance(100.))); egoPredictedRoutes.push_back(shortenedRoute); } diff --git a/ad_rss_map_integration/python/tests/interface_test.py b/ad_rss_map_integration/python/tests/interface_test.py index ff824aae0..8c7aa737f 100644 --- a/ad_rss_map_integration/python/tests/interface_test.py +++ b/ad_rss_map_integration/python/tests/interface_test.py @@ -189,7 +189,7 @@ def test_interface(self): longitudinal_distance = rss_situation_snapshot.situations[0].relativePosition.longitudinalDistance self.assertTrue(rss_proper_response.isSafe) - self.assertEqual(longitudinal_distance, ad.physics.Distance(104.411)) + self.assertEqual(longitudinal_distance, ad.physics.Distance(104.415)) self.world_model.timeIndex += 1 diff --git a/dependencies/map b/dependencies/map index 2f7d2f211..a318c4b42 160000 --- a/dependencies/map +++ b/dependencies/map @@ -1 +1 @@ -Subproject commit 2f7d2f2116e6305d4d48f1ead78239fa11f4a00f +Subproject commit a318c4b4254623817922b7f4fac8ad192a866fd4 diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index 96ba3bb45..9736ad507 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -4,6 +4,7 @@ #### :ghost: Maintenance * Fix: Consider lateral fluctuation margin correctly. +* Fix: ad_rss_map_integration don't shorten route too much within intersections * Updated ad_map_access to v2.4.5 * Use target python version for build * Fix: Ensure maxSpeedOnAcceleration only limits the actual acceleration while reponse time.