[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Clarification of what I Need to Accomplish
|
Hi Zedric,
thank you for providing some meaningful suggestions on how simpla can evolve. There aren't any dedicated methods to achieve what you describe.
I will take note of the following in Github:
- add method to split a platoon (or better: set custom platoon sizes)
- add a helper method getPlatoonLeaders()
I already answered your question about getPlatoonIDList(),getAveragePlatoonSpeed() in the other mail.
Best regards
Mirko
-----Original-Nachricht-----
Betreff: [sumo-user] Clarification of what I Need to Accomplish
Datum: 2023-03-10T17:53:50+0100
Von: "Zedric Banger II (zbanger)" <zbanger@xxxxxxxxxxx>
An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>
I want to increase or decrease the size of the platoon while the simulation is running. For example, let's say platoon has the size of 10. Now I want to split this platoon into two sub platoons. How can I do that? But I don't want to use "traci.vehicle.remove" as it removes the vehicle from the simulation. And also is there any way I can call methods (e.g., getPlatoonLeaders(), getPlatoonIDList(),getAveragePlatoonSpeed() etc) using simpla?