using getParameter / setParameter with the following values should be
enough for the default lanechangem model:
"laneChangeModel.speedGainProbabilityRight"
"laneChangeModel.keepRightProbability"
"laneChangeModel.lookAheadSpeed"

Am Mo., 26. Sept. 2022 um 09:58 Uhr schrieb Mahima <mahim...@gmail.com>:

> When I am copying a vehicle from one partition to the other on the same
> lane and position as it was on the previous partition, but in the current
> timestep if there was a lane change decision in the previous
> partition......which lane change API or flag will give me the same lane
> change decision in the master partition.
> In this scenario, I am already making sure that the neighbouring
> vehicles for this vehicle are the same as on the previous partition.
>
> Please suggest.
>
> On Mon, Sep 26, 2022 at 9:39 AM Jakob Erdmann <namdre.s...@gmail.com>
> wrote:
>
>> No. TraCI runs before the computation of this step's values (
>> https://sumo.dlr.de/docs/Developer/Implementation_Notes/Simulation_Loop.html#main_vehicle_update_loop
>> )
>>
>> Am So., 25. Sept. 2022 um 11:02 Uhr schrieb Mahima <mahim...@gmail.com>:
>>
>>> Hi,
>>>
>>> Is there any way to read the vehicle's speed, lane and position in the
>>> current timestep?
>>>
>>> libsumo::Vehicle::getLanePosition
>>> libsumo::Vehicle::getSpeed
>>> All these APIs, give information about the last timestep.
>>>
>>> Thanks
>>> _______________________________________________
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> _______________________________________________
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to