Thanks Jakob, for your quick response. I am taking a look a simpla at the moment. My guess at the moment is that you are suggesting using the selector attribute in simpla to reform the platoon. Will that allow me to for example order the vehicles ascending or descending order? To be specific say I have a platoon of vehicles [ 1 2 3 6 5] six being a vehicle that joined the platoon at that position. Could I use the simpla approach to reorder them to say [ 1 2 3 4 5 6]? Halid J. K Mahama
> On Feb 9, 2019, at 23:29, Jakob Erdmann <namdre.s...@gmail.com> wrote: > > You can only remove and re-add a vehicle to modify ids. > In the Simpla-Platooning module > (http://sumo.sourceforge.net/userdoc/Simpla.html), platoon positions are > reflected using the type id instead (type can be changed at runtime). I would > recommend this approach instead (It also scales better to having multiple > platoons at the same time). > > regards, > Jakob > > >> Am Sa., 9. Feb. 2019 um 16:01 Uhr schrieb Halid Jonathan Kobbie Mahama >> <mhal...@icloud.com>: >> Hello all, >> >> I am running a simulation on sumo using a python script. I am faced with the >> urgent need to rename the vehicles in a platoon of vehicles after a >> maneuver >> Such that the joining vehicle and the vehicles behind it take on new IDs >> reflective of their current position in the file of vehicles. Is there a way >> to reassign vehicle IDs during runtime? >> >> Thanks in advance. >> >> Halid Mahama >> >> _______________________________________________ >> sumo-user mailing list >> sumo-user@eclipse.org >> To change your delivery options, retrieve your password, or unsubscribe from >> this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user