PythonAPI icon indicating copy to clipboard operation
PythonAPI copied to clipboard

Stop NPC on follow_closest_lane

Open BBlumhofer opened this issue 4 years ago • 2 comments

Hi There, I am Looking for a possibility to stop a NPC which is following a lane with the function: follow_closest_lane. I don't want to use follow Waypoints because the vehicles doesn't respect the traffic rules in this case. With that function I want to design s scenario where the ego vehicle follows the npc and after 90s the npc stops with an emergency brake.

BBlumhofer avatar Jan 22 '21 09:01 BBlumhofer

@BBlumi97 this isn't supported right now. If you want to modify NPC behavior you will need to "script it" using waypoint mode.

hadiTab avatar Feb 12 '21 22:02 hadiTab

Thanks for your information. That's what I did at the end.

BBlumhofer avatar Feb 13 '21 08:02 BBlumhofer