Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Junction edge is not included in Route, Vehicle is being invisible while in junction
  • From: Andras Bondor <andras.bondor@xxxxxxxxxxxx>
  • Date: Wed, 4 Nov 2020 09:23:42 +0000
  • Accept-language: hu-HU, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=aimotive.com; dmarc=pass action=none header.from=aimotive.com; dkim=pass header.d=aimotive.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Iyq5NFLse0Y7DQ7/R84ts1rdTU4sTvVdv6lCEWaNw/A=; b=P4HUvDgIUKm+2aOHZllHq4FyVDIhrup46wycNrNRtMpJRkYNuHp1mNLc0AbM94mqUJoab5atZ5FCfR+n9GBZYRA3CNrtS969STiPY/8uHnzeN6Rqq2lILwuti0pc5uN/1oj/oOg3/u0eNgOKYrK/BKD0YxzjHD8gnJGH0sGRC6d2REx7hEhzHhbqRfEgEAFz9bwnFmGA0jPiNQdnaLxIXz7uVuio8LjlE/QKpGzcqmgDKEk+PsQo+U7P6QP64IiG9dPEUzuheI8t+txxbwEKbQgJIj+JrXHIl9/bY4wMqje5Ni5TKQWTiwmtfhyOBHLpxdNWnxaNFcsopbP8egjW2A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hoMc32vk4iUYOyFJP2P14FOEjBsNmvniFquyZk03peG7kI/MHxI3HHOdBpVHHVi/qFVg5MEUBMnc8DD+7SD6ME9wT4JJTFIIlK0wWjJLlqBjdZTk2B9j7ke1m1R0YyubnpxxReFgj75QiCW9NqGwAQSbfzwBn1nreNCTT8okrTpsJwqJqFYb12rb7vIuRUfeh8yUOaBla8uQZp1vhwTvPb8tiw78SD4FF+8G/2H4+v5/LC59Xr/zQIReQJWhFEZvqm3/kss035Xl5jJTfzTj7koYwhlNcy+GNZM7Z/Xz5TZPql0WGZ5QELANzpANyerrvDm+i81SOy2ObaK6sVLgxg==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWnXjrsueb5MTgm0OM0w8PTBzaYqmOycmAgACa3HyAGtQ+EYAKaNsAgACwOXaAABf/gIAA3ZQYgAA7zoCAAAHES4AALDwAgAAEWGSAAQeoAIAAHfCZ
  • Thread-topic: [sumo-user] Junction edge is not included in Route, Vehicle is being invisible while in junction

I'm controlling the Ego vehicle by manual inputs using a keyboard, so that's the reason the traci and fcd logs didn't match since they were created at different times. Also, there were some changes in the configuration files, but the vehicle type shouldn't affect the results. The Ego type was just a copy of the default type, as I was trying lots of things to figure this thing out, as seen in the cfg.

I re-run the simulation using 1.7.0 and collected both the fcd and traci logs from the same run, so everything should match now, please see attachment. The behavior I'm seeing is once the Ego vehicle stops in the middle of the junction, after a few seconds all other vehicles start to move again, and drive through it. I suspected it might have to do something with the vehicle length, but the other vehicles drive through both the back, middle and the front of the car, so I don't think it's related to that.

I hope this helps.

On a related note, is there a way to replay the fcd log in the SUMO GUI application? That could help to make sure we are seeing the same issue.

Feladó: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx>, meghatalmazó: Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Elküldve: 2020. november 4., szerda 8:28
Címzett: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Tárgy: Re: [sumo-user] Junction edge is not included in Route, Vehicle is being invisible while in junction
 
No. You cannot set up commands in the gui.
There may still be some discrepancies though. I noticed that your fcd-output assigned the type "ego" to your ego vehicle whereas the vehicle had the default type in your traci log. You could try to fix all these tiny details, make sure to use version 1.7.0 (you wrote "I've upgraded to 1.7.0" and "I'm using 1.6.0") and together it should lead to seeing  the same behavior on both ends.

Am Di., 3. Nov. 2020 um 16:48 Uhr schrieb Andras Bondor <andras.bondor@xxxxxxxxxxxx>:
Well, the sequence I sent you, along with the config files produces the issue I'm describing on my end. Is there a way I can somehow set up a predefined set of commands on a vehicle in the SUMO GUI application so that I can reproduce the issue in a separate environment, and hopefully provide you with better input?

Feladó: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx>, meghatalmazó: Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Elküldve: 2020. november 3., kedd 16:29
Címzett: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Tárgy: Re: [sumo-user] Junction edge is not included in Route, Vehicle is being invisible while in junction
 
The ego vehicle's presence should always be detectable by the other vehicles. The fix was already in version 1.4.
If you can manage to provide a sequence of moveToXY commands that allow reproducing the problem on my end (preferably with 1.7.0) I can hunt for the bug. Right now I'm unable to see the issue.

Am Di., 3. Nov. 2020 um 13:56 Uhr schrieb Andras Bondor <andras.bondor@xxxxxxxxxxxx>:
Thanks for getting back to me, Jakob!

I saw the ticket you linked, which lead me to realize that the Ego vehicle will need a route, regardless of being moved by MoveToXY alone, so I added a route to that vehicle too, as you can see in the logs.

The version I'm using is 1.6.0. Can you let me know in which version this was fixed?

What you were observing in the logs is correct: the Ego vehicle is recognized and all traffic is stopped. However, if the Ego vehicle remains standstill in the middle of the junction, after a few seconds the other vehicles start to ignore it and will begin moving - eventually colliding into the standing vehicle.

The recording I sent is fortunate as the Ego vehicle is being recognized in the first place, but it's also possible to time the entry into the junction when the Ego is ignored altogether. I suspect that if it enters the junction when it shouldn't (e.g. Ego doesn't give right of way to another vehicle), then its presence isn't assumed and detected at all. Could this be a case?

Feladó: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx>, meghatalmazó: Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Elküldve: 2020. november 3., kedd 13:45
Címzett: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Tárgy: Re: [sumo-user] Junction edge is not included in Route, Vehicle is being invisible while in junction
 
When I run the .sumocfg with the given traci commands I observe that the ego vehicle enters the junction at ~time=9 and the remains stopped on the junction. At the same time traffic from east and west is stopped as well and has recognized the ego vehicle as their foe (indicated by 'select foes', see https://sumo.dlr.de/docs/sumo-gui.html#right_of_way)

Your problem description reminds me of https://github.com/eclipse/sumo/issues/6140 but this has since been fixed.
Unfortunately, your fcd-output file does not include the version information which should exist in the first line of the header comment.

regards,
Jakob

Am Di., 3. Nov. 2020 um 10:14 Uhr schrieb Andras Bondor <andras.bondor@xxxxxxxxxxxx>:
I'm sorry Jakob, looks like a confusion on my end then, thanks for clarifying!

Based on your reply in another thread, it's not possible to generate a traci log in c++, so I manually logged all commands and arguments. Please let me know if it's helpful or if you need additional information.

Thank you again!

Feladó: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx>, meghatalmazó: Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Elküldve: 2020. november 2., hétfő 20:57
Címzett: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Tárgy: Re: [sumo-user] Junction edge is not included in Route, Vehicle is being invisible while in junction
 
Hello,
you included fcd-ouput whereas I was referring to the log of all traci commands. Please see the link in my prior message on how to obtain this.
regards,
Jakob

Am Mo., 2. Nov. 2020 um 19:33 Uhr schrieb Andras Bondor <andras.bondor@xxxxxxxxxxxx>:
Hi Jakob,

Thank you for your reply!

I attached the config and log files to my second e-mail, but they might got cut off by the mailing list. I'll resend it to you by direct message now.

Thank you,
Andras

Feladó: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx>, meghatalmazó: Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Elküldve: 2020. november 2., hétfő 9:01
Címzett: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Tárgy: Re: [sumo-user] Junction edge is not included in Route, Vehicle is being invisible while in junction
 

Am Mo., 26. Okt. 2020 um 18:04 Uhr schrieb Andras Bondor <andras.bondor@xxxxxxxxxxxx>:
Hello again,

Not being impatient, just wondered if there are any updates on this, or if there is something I can do on my end to get the desired behavior.

Thank you,
Andras

Feladó: Andras Bondor <andras.bondor@xxxxxxxxxxxx>
Elküldve: 2020. október 9., péntek 17:22
Címzett: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Tárgy: Re: [sumo-user] Junction edge is not included in Route, Vehicle is being invisible while in junction
 
Hello Jakob,

Thank you for your quick reply. Please see attachment. The issue can be reproduced by starting to move forward with the remote-controlled vehicle after an arbitrary wait time.

Is this a configuration issue on my end?

Thank you again for your time!

Andras


Feladó: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx>, meghatalmazó: Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Elküldve: 2020. október 9., péntek 8:06
Címzett: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Tárgy: Re: [sumo-user] Junction edge is not included in Route, Vehicle is being invisible while in junction
 
Hello,
- internal edges are never included in a route definition (they can be deduced from the "normal" edges at simulation time)
- except for some special junction configurations where right-of-way rules do not apply, the vehicle should be visible to the others while on the junction (at least it works in our nightly test). Please provide input files for reproducing the issue. Instead of sending your whole traci script, you may use the tracing functionality: https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html#generating_a_log_of_all_traci_commands

regards,
Jakob

Am Do., 8. Okt. 2020 um 15:53 Uhr schrieb Andras Bondor <andras.bondor@xxxxxxxxxxxx>:
Hello,

I'm experiencing an interesting behavior when calculating a route that should contain a junction and when navigating over it using moveToXY().

First, I'm building a route for the remote-controlled vehicle by calling libsumo::Simulation::convertRoad() on the current and target positions.
Then I feed these two edge ids to libsumo::Simulation::findRoute() to get a route. The start route and end route are two straight lines, connected with a simple junction. I'm observing that the generated route only has 2 edges, the current and target edge, but the edge in the junction is not included in the route.

Now if I start the simulation and I move my remote-controlled vehicle by calling the moveToXY() function the vehicle is correctly positioned. I'm querying the edge id on each step and it correctly reports the starting, in-junction, and target edges as it moves over them.

However, while being in the junction, and being on the edge id which belongs to the junction (which isn't part of the route), the vehicle seems to be invisible to other participants controlled by SUMO, and they simply drive through it. Once the remote-controlled vehicle is out of the junction, all other vehicles are correctly slow down around it not to collide. I read that the in-junction collisions are expected if the remote-controlled vehicle doesn't have a route continuing after the end of the junction, but here it is not the case.

Originally I used version 1.6.0 but upgraded to 1.7.0 and I'm experiencing the same behavior.

Any help is appreciated.

Thank you,
Andras


This e-mail and any files transmitted with it contain confidential and may contain privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized use, copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

_______________________________________________
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
_______________________________________________
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

Attachment: sumo.zip
Description: sumo.zip


Back to the top