Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Junction edge is not included in Route, Vehicle is being invisible while in junction
  • From: Andras Bondor <andras.bondor@xxxxxxxxxxxx>
  • Date: Thu, 8 Oct 2020 13:53:14 +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=dY4hA0IKTFKEoqNDR1IJAqLKeDWCrlKILHIdX1b1mqw=; b=jGXSO5kkRRVplwNsnYOeLAPyB9RZFcXuutIrEhR+jjkN0nehJVraJyylslBccCBQ2x+QRzniOUw74l+JvLaVAgY2/eaNIat48H3fzJ5lbh3trtFxjKApVu44k5pWwn5m7Ia6Se5/dDAOuQKuur5x073ExoMdMiLmxQO9U9IOkTGgpq14/qg5Q5gOqGxnXvH2xQNs4YecKQLT50S15kB+Rgm0k1eI5/fr4N6482xPyUY95wo6+tPgsSl9IB1mI7kpm8aEXdXaiB6MN+69+i06I6vhwjFMxvJEH0rZJHWNYzJjtvRfikAIpNnSpJVB/8R8yjaJ5FPvDE1yVJNC8p5PPA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cowVItk4J7TZB0n0G02K+hqp1rRTBtaTEE7FE7IBHW+WV44JzBGENcT+2T/3bLGCRbAsfNcOhlzoeLF54qM8TtYGqqVOvXvnUXoijARSevmz3L9xwejGu6huZSTFTYrrcdQNPh8ugBifRUIW9TjbvO2guXb67F0cSvzClka/FgISbnuDl8jMrkQkaDh4grchLi6Tkz353cLfoS2Nu9maSZppFx6/BmQ0fOID3wtTMt7oIXbPueT2O1dsnJ5VZuUUScusrgaTCKSSnQSQoU/OkbtvOlV/PL7J39btwu3QOQxcW61kvDLzbYxqOv9y7hNf+TWxD5BIp6cUS6oC3QCvhA==
  • 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: AQHWnXjrsueb5MTgm0OM0w8PTBzaYg==
  • Thread-topic: Junction edge is not included in Route, Vehicle is being invisible while in junction

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.


Back to the top