[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] How I stop the vehicles from teleporting?
|
For me, this topic is of interest as well,
however, when you look at the screenshot, not only time-to-teleport is inserted into the new config file (when I do it by invoking sumo), but also the order of file loads is swapped. But according to https://sumo.dlr.de/docs/sumo.html#loading_order_of_input_files, this is not recommended.
Am 03.02.2022, 15:01 Uhr, schrieb Nao Tomori <jeremiahferrer26@xxxxxxxxx>:
Thank you for the clarification.
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
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
_______________________________________________
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
--
Dem Ingeniör ist nichts zu schwör (außer bei Force Majör)
Attachment:
Screenshot_20220203_151445.png
Description: PNG image