|[sumo-user] getLeader error|
I am trying to use the get leader function and it appears to only be show vehicles on the current edge. Is this expected behaviour?
The route of the white vehicle is set to go onto the following edge and the vehicles' best lanes look something like this:
(('merging_0', 246.07, 37.5, 0, True, ('merging_0', 'outgoing_0')), ('merging_1', 246.07, 37.5, 0, True, ('merging_1', 'outgoing_0')), ('merging_2', 246.07, 0.0, 0, True, ('merging_2', 'outgoing_1')))
Where the current edge is merging and the following one is outgoing.
A leading vehicle in position A (on merging) would be picked up but not in position B (on outgoing).
Back to the top