Saving the configuration as explained (see also SUMO docs on this at https://sumo.dlr.de/docs/Basics/Using_the_Command_Line_Applications.html#generating_configuration_files_templates_and_schemata) will lead to these tags inside the sumocfg XML file:

/    <processing>//
//        <time-to-teleport value="-1"/>//
//    </processing>/

In essence, the option becomes a tag and the value is given in the only attribute. But again: In case you are not sure how it should look like, I invite you to let SUMO write the sumocfg for you. If you already have a sumocfg you want to change, type the following (setting your real file paths, obviously):

/sumo -c old.sumocfg --time-to-teleport -1 --save-configuration new.sumocfg/

I hope this is clear enough now.

Am 03.02.2022 um 14:43 schrieb Nao Tomori:
How do I implement this in code in the sumo config? The syntax is what I mean, could provide an example to disable teleportation

On Thu, Feb 3, 2022, 4:14 PM Mirko Barthauer <[email protected]> wrote:

    Start SUMO with the option *--time-to-teleport -1* (see SUMO docs
    at https://sumo.dlr.de/docs/sumo.html) to disable teleporting. You
    can save the configuration by adding the option
    --save-configuration "/Your/filepath/" if you use sumocfg files.

    Teleported vehicles reappear **on the next edge on their route
    downstream from where they remained stuck.

    Best regards
    Mirko

    Am 03.02.2022 um 07:03 schrieb Starlight Charlotte:

    I was wonder how to stop the vehicles from teleporting, where do
    I make such changes (which file), and do teleported vehicle
    simply disappear in the simulation?

    Thank You in Advance.

    Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>
    for Windows


    
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
        Virus-free. www.avast.com
    
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>


    <#m_-1168930317677432645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

    _______________________________________________
    sumo-user mailing list
    [email protected]
    To unsubscribe from this list, 
visithttps://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, 
visithttps://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