Hello again,

Thanks for the clarification. Just a couple more questions (sorry!):

1. If I were to issue TraCI's change lane command on every step (1s) and
for a duration of *1s*. Then, basically, the model would always be
overridden by TraCI?
2. If I were to issue TraCI's change lane command on every step (1s) and
for a duration of *10s*. Then, the previous TraCI change lane command would
get overridden by the new one?


Sincerely,
Hriday


On Fri, 18 Feb 2022 at 08:48, Jakob Erdmann <[email protected]> wrote:

> 1. It stays on the target lane even if the model in sumo (LC2013/ SL2015)
> would prefer something different
> 2. it does whatever the model in sumo deems best depending on the situation
>
> Am Fr., 18. Feb. 2022 um 09:25 Uhr schrieb Hriday Sanghvi via sumo-user <
> [email protected]>:
>
>> Hello,
>>
>> Thank you for your response.
>>
>> 1. So it attempts to reach the target lane, even after it has already
>> reached it - What happens if it reaches the target lane at 3 seconds (7
>> more seconds to go)?
>> 2. What happens after the duration is complete? So after 10 seconds, does
>> it move back to the other lane (not the target lane), or just stay on the
>> target lane since it has no motivation to move to the other one?
>>
>> Sincerely,
>> Hriday
>>
>>
>> On Fri, 18 Feb 2022 at 07:16, Jakob Erdmann <[email protected]>
>> wrote:
>>
>>> Yes. The vehicle will try to move to that lane and then stay on it for
>>> the next 10 seconds and attempts for reaching the target lane are made in
>>> every action step until that point (i.e. every second).
>>>
>>> Am Do., 17. Feb. 2022 um 18:02 Uhr schrieb Hriday Sanghvi via sumo-user <
>>> [email protected]>:
>>>
>>>> Hello all,
>>>>
>>>> Does the command:
>>>>
>>>> traci.vehicle.changeLane(vehID="v", laneIndex=0, duration=10)
>>>>
>>>>
>>>> mean that vehicle with ID "v" will try to change lane to lane 0 for the
>>>> next 10 seconds - until *traci.vehicle.couldChangeLane(vehID="v",
>>>> direction=+1)* evaluates to True? So if an action is taken by the
>>>> vehicle at every second, it means it will try to change lane for the next
>>>> 10 steps (or 10 seconds, since every simulation step = 1s by default).
>>>>
>>>> Thank you.
>>>>
>>>> Sincerely,
>>>> Hriday.
>>>> _______________________________________________
>>>> 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