Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Simulation terminates with setDecel

Hi,

 

I am using the Sumo simulation to calculate a speed recommendation (setSpeed in range 6.94 – 13.89 m/s) for a vehicle approaching an intersection. Depending on the value of the optimal speed, I am determining a value for the deceleration (in range 0.2 -0.8, see screenshot 1) and set it with set.decel for the ego vehicle.

 

In some scenarios, however, this leads to problems, as the simulation breaks off/terminates unexpectedly (without any error message).

An example can be seen in screenshots 2 and 3. These pictures show two consecutive points in time of the simulation during the approach of the ego vehicle (green). It seems to me that the ego vehicle somehow crashes with the vehicles ahead, then disappears and therefore the simulation ends (as I have implemented it). The resulting speed curve is shown in screenshot 4. For comparison, I have also attached a speed curve without optimization (screenshot 5, without speed recommendation with setSpeed and setDecel).

 

Can anyone explain the reason for this?

By the way: If I set the deceleration statically to 0.2 or 0.8, for example, the simulation does not abort. What am I missing?

 

 

Thanks and best regards,

 

Anna-Lena

Attachment: Screenshot 1.PNG
Description: Screenshot 1.PNG

Attachment: Screenshot 2.PNG
Description: Screenshot 2.PNG

Attachment: Screenshot 3.PNG
Description: Screenshot 3.PNG

Attachment: Screenshot 4.PNG
Description: Screenshot 4.PNG

Attachment: Screenshot 5.PNG
Description: Screenshot 5.PNG


Back to the top