If you set argument 'blockingOnly=False' you will get followers that are further away. Otherwise, only vehicles that block lane-changing are returned.
Am Do., 7. Juli 2022 um 14:28 Uhr schrieb Luson <[email protected]>: > 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! > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
