apollo icon indicating copy to clipboard operation
apollo copied to clipboard

fix replay perception obstacle velocity direction

Open xiafawu opened this issue 4 years ago • 1 comments

The obstacles generated from the replay perception script have velocity direction not conforming to their actual movement. For instance, an obstacle might be traveling straight towards the north while its velocity direction points to the east. This updated script should resolve this problem.

I've recorded two videos comparing the original script and the script from the pull request, both taking /apollo/modules/tools/perception/garage_onroad_vehicle_3.json as input. The new script has correct velocity direction while the original script has velocity direction pointing elsewhere.

And here is a quick peek of the change: original CleanShot 2021-08-30 at 14 48 04@2x

pull request CleanShot 2021-08-30 at 14 46 55@2x

xiafawu avatar Aug 29 '21 08:08 xiafawu

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


EricWu416 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Aug 29 '21 08:08 CLAassistant