Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How I stop the vehicles from teleporting?

Thank you for the clarification.

On Thu, Feb 3, 2022, 9:52 PM Mirko Barthauer <m.barthauer@xxxxxxxxxxx> wrote:

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 <m.barthauer@xxxxxxxxxxx> 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 for Windows

 


Virus-free. www.avast.com

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top