Thank your help again,
I tried indexOffset -1,0 or 1 of traci.vehicle.changeLaneRelativ, but the
vehicle behind will still not overtake

Many Thanks,
Yun

Jakob Erdmann <[email protected]> 於 2020年11月6日 週五 下午3:41寫道:

> For some reason your network was built with option --lefthand even though
> the area is in a RHT part of the world.
> In lefthand networks, the lane numbering is reversed which means that
> overtaking on the reverse side (towards the right) must be triggered with
>                 traci.vehicle.changeLaneRelative(vehID, 1, duration)
> (The same relative direction index that would be used in RHT networks).
> Sumo even provides the warning "Warning: Ignoring indexOffset -1 for
> vehicle 'v' which is already on laneIndex 0" to indicate that the index you
> sent is not usable.
>
> regards,
> Jakob
>
> Am Fr., 6. Nov. 2020 um 05:58 Uhr schrieb 謝昀宸 <[email protected]>:
>
>> Thank you for your reply,
>> I still can't implement reverse overtaking
>> Attach my overtake.py, overtake.route, and use map.xml.
>> Please help to check my missing
>>
>> Many Thanks,
>> Yun
>>
>> Jakob Erdmann <[email protected]> 於 2020年10月29日 週四 下午6:27寫道:
>>
>>> The feature is working in our tests at least. Please provide input files
>>> for reproducing your issue.
>>>
>>>
>>> Am Mi., 28. Okt. 2020 um 06:55 Uhr schrieb 謝昀宸 <[email protected]>:
>>>
>>>> Hello,
>>>> I want the vehicle to overtake on the reverse road for a short time and
>>>> then return to the forward road
>>>>
>>>> I have read the Opposite-Direction-Driving file and also modified the
>>>> map to have the <neigh> attribute
>>>>
>>>> But when I use traci.vehicle.changeLaneRelative to test in the
>>>> simulation, the vehicle still does not switch to the opposite road
>>>>
>>>> Many thanks,
>>>> Yun
>>>> _______________________________________________
>>>> 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
>>>
>> _______________________________________________
>> 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
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to