Skip to content

Commit b713d7c

Browse files
Fix map-integration intersection scene
Fix: ad_rss_map_integration don't shorten route too much within intersections when incoming route starts at intersection entry while vehicle already entered. * Update map to v2.4.5_hotfix
1 parent d937f16 commit b713d7c

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

ad_rss_map_integration/impl/src/RssSceneCreation.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ bool RssSceneCreation::appendStructuredScenes(::ad::rss::map::RssSceneCreator &s
157157
{
158158
// for the analysis we are only interested in the near term route
159159
auto shortenedRoute = egoRouteInput;
160-
::ad::map::route::shortenRouteToDistance(shortenedRoute, predictionLength);
160+
::ad::map::route::shortenRouteToDistance(shortenedRoute,
161+
std::max(predictionLength, ::ad::physics::Distance(100.)));
161162
egoPredictedRoutes.push_back(shortenedRoute);
162163
}
163164

ad_rss_map_integration/python/tests/interface_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def test_interface(self):
189189
longitudinal_distance = rss_situation_snapshot.situations[0].relativePosition.longitudinalDistance
190190

191191
self.assertTrue(rss_proper_response.isSafe)
192-
self.assertEqual(longitudinal_distance, ad.physics.Distance(104.411))
192+
self.assertEqual(longitudinal_distance, ad.physics.Distance(104.415))
193193

194194
self.world_model.timeIndex += 1
195195

doc/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#### :ghost: Maintenance
66
* Fix: Consider lateral fluctuation margin correctly.
7+
* Fix: ad_rss_map_integration don't shorten route too much within intersections
78
* Updated ad_map_access to v2.4.5
89
* Use target python version for build
910
* Fix: Ensure maxSpeedOnAcceleration only limits the actual acceleration while reponse time.

0 commit comments

Comments
 (0)