apollo icon indicating copy to clipboard operation
apollo copied to clipboard

how should I understand we put the localization pose to perception_obstacle container and why we do this?

Open westeast opened this issue 9 years ago • 2 comments

https://github.com/ApolloAuto/apollo/blob/b2ee325f2be1308b62afc57a14abc8c31006d9d0/modules/prediction/prediction.cc#L104 ` pose_container->Insert(localization); PerceptionObstacle* pose_ptr = pose_container->ToPerceptionObstacle(); if (pose_ptr != nullptr) { obstacles_container->InsertPerceptionObstacle( *(pose_ptr), pose_container->GetTimestamp()); } else { ADEBUG << "Invalid pose found."; }

`

westeast avatar Oct 27 '17 03:10 westeast

An ego vehicle is one of the obstacles as well. It'll be useful to analyze the interactions between vehicles on the road for more precise prediction. Hope this helps. Thanks!

jinghaomiao avatar Oct 28 '17 01:10 jinghaomiao

Since this question has been answered, I would like to close this issue. If you have any more question, please feel free to reopen it.

kechxu avatar Mar 30 '18 16:03 kechxu