PythonAPI
PythonAPI copied to clipboard
Stop NPC on follow_closest_lane
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.
@BBlumi97 this isn't supported right now. If you want to modify NPC behavior you will need to "script it" using waypoint mode.
Thanks for your information. That's what I did at the end.