Thank you for your help. On Thu, Jan 20, 2022 at 10:13 PM Jakob Erdmann <[email protected]> wrote:
> each option and argument must be a separate element of the command list: > traci.start([sumoBinary, "-c", "demo.sumocfg", > "--fcd-output.max-leader-distance", str(FLOAT), "--fcd-output", > "output.xml"]) > > leaderGap -1 means that no leader was found within the distance specified > by 'max-leader-distance' > > Am Fr., 21. Jan. 2022 um 00:31 Uhr schrieb Hem <[email protected]>: > >> Thanks for the help. >> >> I was able to run this in command prompt successfully but when I try to >> run it within my python code using traci.start([...]) it's not working. I >> tried with quotes and it still doesn't work. Should it work? >> >> Also, what does a leaderGap of -1 mean? On the webpage ( >> https://sumo.dlr.de/docs/Simulation/Output/Lanechange.html) it says >> leaderGap is "The longitudinal gap to the nearest leader on the target lane >> (bumper to bumper) or 'None' if there was no leader". Are there any other >> links that go over leaderGap? >> >> >> [image: image.png] >> >> Thanks. >> >> >> On Thu, Jan 20, 2022 at 12:36 AM Jakob Erdmann <[email protected]> >> wrote: >> >>> the options must be used together: --fcd-output output.xml >>> --fcd-output.max-leader-distance 200 >>> >>> Am Do., 20. Jan. 2022 um 04:42 Uhr schrieb Hem <[email protected]>: >>> >>>> Thanks for the quick response. >>>> >>>> I was able to get an output file when using "--fcd-output" but am not >>>> getting an output file when using "--fcd-output.max-leader-distance". Is >>>> there any special syntax that needs to be used? >>>> >>>> *Works:* traci.start([sumoBinary, "-c", "demo.sumocfg", "-- fcd-output >>>> ", "output.xml"]) >>>> *Does not work:* traci.start([sumoBinary, "-c", "demo.sumocfg", >>>> "--fcd-output.max-leader-distance FLOAT", "output.xml"]) >>>> >>>> Tried to put a value for FLOAT and removed the FLOAT but it still does >>>> not work. >>>> >>>> Thanks. >>>> >>>> On Tue, Jan 18, 2022 at 10:47 PM Jakob Erdmann <[email protected]> >>>> wrote: >>>> >>>>> Yes. Use option --fcd-output with option >>>>> --fcd-output.max-leader-distance >>>>> see https://sumo.dlr.de/docs/Simulation/Output/FCDOutput.html >>>>> >>>>> >>>>> Am Mi., 19. Jan. 2022 um 03:20 Uhr schrieb Hem <[email protected]>: >>>>> >>>>>> Hi, >>>>>> >>>>>> I am trying to get the minGap or minimum distance between vehicles in >>>>>> the output file. Is that possible? >>>>>> >>>>>> Regards, >>>>>> Hem >>>>>> _______________________________________________ >>>>>> 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 >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
