Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to avoid braking due to other vehicles in front

Hi Anne-Lena,

One thing I noticed is that when you try to overrule a SUMO vehicle, you need to do this every step. So you cannot use the functions which step multiple times, but must take 1 step, call setSpeed(), take another step, call setSpeed() etc.

Hope that helps,
Ruud


On Wed, Oct 30, 2024 at 12:59 PM Schlamp, Anna-Lena via sumo-user <sumo-user@xxxxxxxxxxx> wrote:

Hi,

 

I assume an automated traffic setting in Sumo and want to control an automated vehicle in my traffic network. I do this via “traci.vehicle.setSpeed”.

In some situations in which other vehicles drive in front of the controlled ego vehicle, it brakes early. How can this be avoided? The command “traci.vehicle.setSpeedMode('ego', 55)” does not lead to the desired result.

 

I would be very pleased to receive your feedback, e.g. a specific traci command.

 

 

Thanks and best regards,

 

Anna-Lena Schlamp

 

 

 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top