Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Simpla platooning + TraciC++?

Hello,
there should be no obstacle to attaching python clients and C++ clients simultaneously to a simulation. See https://sumo.dlr.de/docs/TraCI.html#multiple_clients
The vehicle types are loaded into the simulation runtime and are not restricted for use by a specific client.

regards,
Jakob

Am Do., 19. März 2020 um 13:45 Uhr schrieb Linwood Hudson <vtkougrr@xxxxxxxxx>:
Hi gang,

This might be a crazy question, but I'm using the Traci C++ API for my simulation but I need platooning behavior and would like to use Simpla. I have too much written in C++ to convert it all over to Python, but I'd also rather not implement a platooning model in C++ when SImpla already does so much.

Is there any way to utilize Simpla to define and manage the platooning, while making it available for use from my C++ sim? I'd imagine this would require 2 connections to Traci, one from Python to activate and step Simpla, and the other from my C++ application. Could a route defined through the C++ API use any of the simpla vehicle types (original, leader, follower, etc.)?

Thanks!
Linwood 
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top