The bug is now fixed in the github version. A simple workaround would be to define the attributes 'catchup' and 'catchupFollower' explicitly as you did in your earlier vTypeMap (you can also use the same types for this).
Am So., 31. Jan. 2021 um 14:29 Uhr schrieb bermad bila <[email protected]>: > Hello, > I fixed it, but I have another error when I provided your configuration > simpla; > Retrying in 1 seconds > Loading configuration ... done. > Starting SUMO > WARNING: No typeSubstring given. Managing all vehicles. (PlatoonManager) > Traceback (most recent call last): > File "Bejaia.py", line 15, in <module> > simpla.load("Bejaia.simpla1.cfg") > File "/usr/share/sumo/tools/simpla/__init__.py", line 90, in load > _mgr = simpla._platoonmanager.PlatoonManager() > File "/usr/share/sumo/tools/simpla/_platoonmanager.py", line 98, in > __init__ > if specialTypes[PlatoonMode.CATCHUP] is None: > KeyError: <PlatoonMode.CATCHUP: 3> > To reproduce this issue, please find attached the necessary files > > Le dim. 31 janv. 2021 à 12:48, Jakob Erdmann <[email protected]> a > écrit : > >> The example that you gave earlier did not crash. Can you provide input >> for reproducing this new issue? >> >> Am Fr., 29. Jan. 2021 um 18:59 Uhr schrieb bermad bila < >> [email protected]>: >> >>> Hello, >>> Thank you for your help. But, when I check the configuration that you >>> are provided, and I tap "sumo-gui Bejaia.sumo.cfg" I had FATAL: exception >>> not rethrown >>> Aborted (core dumped) >>> any thought? >>> Nabila >>> >>> Le ven. 29 janv. 2021 à 10:32, Jakob Erdmann <[email protected]> a >>> écrit : >>> >>>> Hello >>>> - if you set a vehicleSelector, then the initial types must have the >>>> given value in their type name or they will never be controlled (simplest >>>> fix is to delete this and control all vehicles) >>>> - the vTypeMap must contain entries for the original types used in your >>>> input (i.e. original="truck") >>>> - the maxPlatoon gap should not be lower than the safe following >>>> distance or vehicles will never be considered to be in the platoon (4m is >>>> too low for the provided vType parameters) >>>> - the catchup types should allow catching up by being able to drive >>>> faster than the leader type. If the leader is driving at the speed limit, >>>> the follower types must define speedFactor > 1 to catch up. >>>> - you may want to define a higher catchupDist to prevent emergence of >>>> several evehicle platoons >>>> >>>> For debugging, I recommend assigning different colors to the different >>>> leader and follower types and then setting vehicle coloring mode to "by >>>> type color" this way you can easily track the current platooning state. >>>> >>>> regards, >>>> Jakob >>>> >>>> Am Do., 28. Jan. 2021 um 10:25 Uhr schrieb bermad bila < >>>> [email protected]>: >>>> >>>>> Hello, >>>>> I have created a scenario of a platoon compound of one truck leader >>>>> and seven electric vehicles. In fact, I want to make some security >>>>> simulations on this platoon. But, when I have used simpla and traci to >>>>> enforce the platoon and control the platoon leader, I think it does not >>>>> work. >>>>> please find attached the created files to conduct my simulations. >>>>> Please let me know your feedback on the configuration I provided and >>>>> What have I done wrong. >>>>> Thanks in advance, >>>>> Nabila >>>>> Bejaia university. >>>>> _______________________________________________ >>>>> sumo-user mailing list >>>>> [email protected] >>>>> To unsubscribe from this list, visit >>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>> >>>> _______________________________________________ >>>> sumo-user mailing list >>>> [email protected] >>>> To unsubscribe from this list, visit >>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
