apollo icon indicating copy to clipboard operation
apollo copied to clipboard

planning ignore obstacles

Open HandsomeAIccx opened this issue 1 year ago • 4 comments

I generated perception/obstacles using modules/tools/perception/garage_perception.bash and enabled the prediction function. Although the data channels appear to be normal, when using sim control for vehicle planning, the vehicle completely ignored the obstacles in front of it.I have cyber_record record a file, Is there an expert in PNC who can help me take a look at this issue? Thank you! image image image

2024-04-06 01-12-58屏幕截图 cyber_monitor obs.record.00000.zip

from apollo 9.0 (source code)

HandsomeAIccx avatar Apr 05 '24 10:04 HandsomeAIccx

By the way, when I executed cyber_launch start planning.launch, the terminal printed the following error 2024-04-06 07-28-00屏幕截图 Could this be related? I suspect that my path does not undergo any optimization by planning and is simply the result of routing.”

HandsomeAIccx avatar Apr 05 '24 15:04 HandsomeAIccx

What version of Apollo are you using and what map is it on?

I checked the record file you provided and multiple obstacles have the same ID, I suspect that to be causing planning module to ignore this obstacle. When you used the script to generate perception messages, there are multiple json files and make sure those json files have different obstacle ID.

YuqiHuai avatar Apr 06 '24 02:04 YuqiHuai

What version of Apollo are you using and what map is it on?

I checked the record file you provided and multiple obstacles have the same ID, I suspect that to be causing planning module to ignore this obstacle. When you used the script to generate perception messages, there are multiple json files and make sure those json files have different obstacle ID.

Thank you! I changed the ID and then planning module works, it generated other path to avoid the obstacles! The version is apollo 9.0 and the map is Sunnyvale With Two Offices.

HandsomeAIccx avatar Apr 06 '24 05:04 HandsomeAIccx

Cool. Glad it helped!

YuqiHuai avatar Apr 06 '24 06:04 YuqiHuai