Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] using traci

Hi.

I have a question about using traci. 

 

traci.vehicle.getLeftFollowers('vehicle_1', blockingOnly= True)

A problem occurs in the code that obtains the information of the adjacent left rear vehicle as above. 

There are times when an empty tuple is returned even though apparently there is a vehicle behind the left. 

My guess is that if the distance is over 50, it will not be considered as an adjacent vehicle. Is this guess correct? 

If yes, could you please increase this distance a little more? 

 

Thanks!


Back to the top