Hey François,
the option you are using activates the "simple" lane changing model:
https://sumo.dlr.de/docs/Simulation/SublaneModel.html#simple_continous_lane-change_model
I am not entirely sure, but this may be the reason you are not seeing a
big difference in the UI. The docs read: "When using this model,
vehicles will move with constant lateral speed to complete a maneuver in
the specified time. Lane-changing decisions take the extra time required
into account." It is somewhat unclear from the documentation what the
graphical representation of this simplified model will be. To decrease
computational load, the visualization might also be simplified.
/--> Maybe someone else can clarify?/
If you wish to see cars smoothly change lanes, you may use
<lateral-resolution> the same way you are using <lanechange.duration>
now. I have used that and it surely results in a different behavior of
vehicles that is also visible in SUMO-UI.
A final note: the step size you are using will also impact what you see.
I normally use 0.1 second per simulation step, but SUMO defaults to 1.0
seconds. Use <step-length> for this. See here:
https://sumo.dlr.de/docs/Simulation/Basic_Definition.html#defining_the_time_step_length
Greets, Menno
On 18/09/2021 20:37, François Vaudrin wrote:
Thanks, Menno,
This is something I didn't know. That will be useful.
I added this line in sumocfg.xml .... <lanechange.duration> 1.0
</lanechange.duration> .... and did some tests varying the value 1.0,
5.0., 10.0. Something happens because it does not give the same
results, so this seems OK with the systax
On the other hand, I don't have the impression that the vehicle
changing lanes is different (90 degrees).Maybe it is an impression
because it is hard to catch the real movements on the GUI.
Thanks again and have a nice day
*François
*
------------------------------------------------------------------------
*De :* sumo-user <sumo-user-boun...@eclipse.org> de la part de Menno
van der Woude <me...@codingconnected.eu>
*Envoyé :* vendredi 17 septembre 2021 14:39
*À :* sumo-user@eclipse.org <sumo-user@eclipse.org>
*Objet :* Re: [sumo-user] Continuous model in SUMO
Hey François,
please note that --lanechange.duration is a command line argument
rather than something to add to an additionals file. An additionals
file really is meant for 'additional' things in the network, that is,
things other than edges and junctions that make up the structure of
the network.
You can however add these kind of arguments to your .sumocfg file:
something like
...
<lanechange.duration>1.0</lanechange.duration>
...
should do the trick in this case. This is true for all such arguments
that influence how the simulation runs. I agree that the documentation
can be somewhat hard to make out in this respect if you are unfamiliar
with this, but there is good explanation here:
https://sumo.dlr.de/docs/Basics/Using_the_Command_Line_Applications.html#configuration_files
<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FBasics%2FUsing_the_Command_Line_Applications.html%23configuration_files&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C48e1e856bb354642644e08d97a0a8658%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675007885661572%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=8gLnllWsaUZIbHZLyoTNfkr1MM2G1Izr4ArkBYHMhfw%3D&reserved=0>.
Greets, Menno
On 17/09/2021 19:47, François Vaudrin wrote:
Halo Jakob,
I understand that this command (--lanechange.duration <FLOAT>) allows
changing lanes over a greater distance in a more natural way on the
screen.That's right ?
I couldn't find the syntax to write it to an additional.add.xml file.
Is there an example?
Best
*François
*
CANADA
------------------------------------------------------------------------
*De :* sumo-user <sumo-user-boun...@eclipse.org>
<mailto:sumo-user-boun...@eclipse.org> de la part de Jakob Erdmann
<namdre.s...@gmail.com> <mailto:namdre.s...@gmail.com>
*Envoyé :* lundi 13 septembre 2021 15:41
*À :* Sumo project User discussions <sumo-user@eclipse.org>
<mailto:sumo-user@eclipse.org>
*Objet :* Re: [sumo-user] Continuous model in SUMO
https://sumo.dlr.de/docs/Simulation/SublaneModel.html#simple_continous_lane-change_model
<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FSimulation%2FSublaneModel.html%23simple_continous_lane-change_model&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C48e1e856bb354642644e08d97a0a8658%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675007885661572%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=fWevAMMjVO%2FYDW1YZfm10vMVoCjjNYyqXmxYmU5wjrM%3D&reserved=0>
Please let me know which part of the documentation is unclear.
Am Mo., 13. Sept. 2021 um 21:01 Uhr schrieb François Vaudrin
<francois.vaudri...@ulaval.ca <mailto:francois.vaudri...@ulaval.ca>>:
Thanks Jakob,
Do I have to specify the continuous model somewherewith an option
or it is already include in SUMO?
This is because currently the cars move 90 degrees when they
change lanes in my simulation and I would have preferred that to
be done on a larger transition. But if it's the best that can be
done, that's fine.
Best
*François
*
------------------------------------------------------------------------
*De :* sumo-user <sumo-user-boun...@eclipse.org
<mailto:sumo-user-boun...@eclipse.org>> de la part de Jakob
Erdmann <namdre.s...@gmail.com <mailto:namdre.s...@gmail.com>>
*Envoyé :* lundi 13 septembre 2021 14:29
*À :* Sumo project User discussions <sumo-user@eclipse.org
<mailto:sumo-user@eclipse.org>>
*Objet :* Re: [sumo-user] Continuous model in SUMO
The two types of continuous models are activated via sumo options
and then apply to all vehicles regardless of vType.
Am Mo., 13. Sept. 2021 um 17:41 Uhr schrieb François Vaudrin
<francois.vaudri...@ulaval.ca <mailto:francois.vaudri...@ulaval.ca>>:
Hello,
Can we apply the continuous model directly in the vtype
definition as for the carFollowing-Kraus model? If so, does
this give comparable results?
<vType id="TRUCK_1" .... >
<carFollowing-Krauss accel="0.8" decel="4.5" sigma="0.5"/>
</vType>
Thank you
*François*
CANADA
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C48e1e856bb354642644e08d97a0a8658%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675007885671565%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TbgQnsu4W8CFes%2FLfS2A0csHKiAy%2Brx77hQh6BkioNA%3D&reserved=0>
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C48e1e856bb354642644e08d97a0a8658%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675007885671565%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TbgQnsu4W8CFes%2FLfS2A0csHKiAy%2Brx77hQh6BkioNA%3D&reserved=0>
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
To unsubscribe from this list, visithttps://www.eclipse.org/mailman/listinfo/sumo-user
<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cfrancois.vaudrin.1%40ulaval.ca%7C48e1e856bb354642644e08d97a0a8658%7C56778bd56a3f4bd3a26593163e4d5bfe%7C1%7C1%7C637675007885681561%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UjP%2Boy8OU0qQGiKhw4sl5XeJOSZuqvAIHBJ164csYEs%3D&reserved=0>
_______________________________________________
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