Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Difference between traci and sumolib
  • From: "Ramseier Thomas" <thomas.ramseier@xxxxxxxxxxxxxxxx>
  • Date: Fri, 10 Jul 2026 14:20:25 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ivt.baug.ethz.ch; dmarc=pass action=none header.from=ivt.baug.ethz.ch; dkim=pass header.d=ivt.baug.ethz.ch; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=S0N9Ogrt+/63UrNgXo/A8WPMsoYQQa4vVF4ZOlqdtAo=; b=WPa7EO022wVqx7SetjD8eTlHIlPqzUFvCGqNGJHtynWTaWQEj5waKcxTvGxwOfmFkVntT3B6fkTniFcIlLAuJrVJtOZ/ZiyafIH6mzrjWyB6xV9CR8ZZhO4DY3THP8IJmyxwYAt96azX0HHYfWC+WC2KcIizAxMIjM74i3ujtfjh4ADMAzfvzpg0Wxn41Kmznnqm6+TBI/pp8LZEJmVPZ+RBSmAoieS1g091jq6MoRsSqwzXd0VTIskmEYFpfzmsRbL2EJcjJ4NN5IbueAb1HlgTiU+xOVSDOU2fVeu5WjuAxsla+we+AR5RxEPXaj2FpE6xrJ/RzXt268C4oUrC4A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kdafzuyZl3/dVXy9rabX8Zr7WZZbtvM7KkhuWa1luU96LSpowBrpGjBLi/K32Qazpza5Kppw7ULGG5cJR4kmNt6Kuq6ZobpZSWHC/7Vc4EPll98SZNZS1aDRKLpe+0b5pmYMGFCbLmb28XbCvK0fRkzcuei70x7RHgkf+T2XEkkJwcfyaK2jeuLGvt9Q/JdHbUj7NI9Nr/XAy+ZfDp6clfUPb+FTKwcEpai0C1hgtksNqWaocYN/pkA0OADC+5vC0PYMOti/P0LwW6iGGUcbXzBhL26NblPXeQtM2ULfhumDvXAlFyEfRXRFVNNLVLXR3UbfHP6BD9MbQabRXgH7Nw==
  • 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: Ad0QdURt0WXH64AASG+CWseKrdz2Sw==
  • Thread-topic: Difference between traci and sumolib

Dear SUMO team,

 

I am working on a relatively large project (thus it is difficult to provide a minimal example) that involves numerous traci calls. To speedup the computation I switched from traci to libsumo. To do so, I simply use the command “libsumo as traci” as suggested on the SUMO website. After numerous tests, I noticed that the outputs using either traci or libsumo are different as I receive different collisions and teleportations warnings when using  either of the two packages. So, my question is: Are there some known functions that differ between traci and libsumo ? It seems especially that libsumo is not doing certain commands as I have more collisions using it compared to traci, but it runs without any error nevertheless... I suspect therefore that some silent errors are happening using libsumo. In particular libsumo.vehicle.changeLane seems to behave differently than it’s traci variant.

 

 

P.S.: I am using sumo version 1.26.0

 

Thanks in advance for your reply.

 

Thomas

 


Back to the top