I found a way that worked
It is possible to define waypoints in sumo by adding a stop to a vehicle
with a speed attribute
https://sumo.dlr.de/docs/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#waypoints
I'll try the way you suggest and see which fit my scenario better
Thanks a lot!

Στις Τρί 19 Ιουλ 2022 στις 10:54 μ.μ., ο/η Mirko Barthauer <
[email protected]> έγραψε:

> No, those options are for duarouter, not for sumo. But I remember another
> option which will fit your needs better:
>
>    - Create short edges at the checkpoint mileage, but with the same lane
>    count as upstream and downstream
>    - Define your special vehicle flow using e.g. vehicle class custom1 or
>    custom2
>    - Allow / disallow access to lanes around the checkpoints for this
>    vehicle class, so that it has to choose the lane you want
>
> Best regards
> Mirko
> Am 19.07.2022 um 21:11 schrieb Kostas Beis:
>
> Hi Mirko,
> thanks for your quick response
> creating bottlenecks will create a traffic jam in my scenario
> I'm trying to avoid me setting the changelane in TraCI because i want to
> test how sumo default reacts to checkpoint setting in comparison with a
> experimental strategy of mine
>
> I added to the route file in the desired flow the " viaXY="6500.00,0.60" "
> which are the coordinates of the desired checkpoint but it doesnt seem to
> work
> I read that I need to set the --mapmatch.junctions option but I don't know
> how to include it in the simulation configuration file
>
>
> Στις Τρί 19 Ιουλ 2022 στις 8:31 μ.μ., ο/η Mirko Barthauer <
> [email protected]> έγραψε:
>
>> I see two options here:
>>
>>    - If you don't mind creating bottlenecks at your checkpoints, then
>>    create them "physically", thus split the highway of five lanes into three
>>    edges of one to two lanes for a very short stretch (can be 1m). Then you
>>    can create routes through specific checkpoints as you like.
>>    - Issue lane change commands via TraCI (see
>>    https://sumo.dlr.de/docs/TraCI.html,
>>    https://sumo.dlr.de/pydoc/traci._vehicle.html#VehicleDomain-changeLane
>>    )
>>
>> Best regards
>> Mirko
>> Am 19.07.2022 um 16:51 schrieb Kostas Beis:
>>
>> My simulation consists of a 5-lane, 10 km long highway with different
>> vehicle flows. I want one veh flow to pass through 2nd lane at 3 km,
>> through 4th lane at 6 km and to arrive at 3rd lane at 10 km. Some kind of
>> "checkpoints" inside the highway. I have managed to set only the arrival
>> target lane (3rd) in the route file of simulation by writing
>> arrivalLane="4" in specs of the flow. Can anyone help?
>>
>>
>> _______________________________________________
>> sumo-user mailing [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 [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