Hi, Am 15.01.2016 um 11:03 schrieb amrit bagga: > How do we write these command . I mean where do we need to write this > command to get this?
It depends on which traci client you use or how you parse the outputs. Python is always a good starting point. http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python Best regards, Michael > > On Fri, Jan 15, 2016 at 1:35 PM, Elise van der Pol <[email protected] >> wrote: > >> Dear Michael, >> >> That helps, thank you! >> >> Best, >> Elise >> >> On Thu, Jan 14, 2016 at 9:58 PM Michael Behrisch < >> [email protected]> wrote: >> >>> Dear Elise van der Pol, >>> >>> Am 14.01.2016 um 18:39 schrieb Elise van der Pol: >>>> I have been trying to extract the distance between a given vehicle and >>> the >>>> halting line/stop line it approaches. However, searching the SUMO >>>> documentation I cannot find how to reliably compute this. >>>> Is it possible to find this distance, and if so, how? >>> >>> It is basically the difference between the lane length and the current >>> lane position of the vehicle (which is the position of the front >>> bumper), both values are available with traci (traci.lane.getLength, >>> traci.vehicle.getLanePosition) and in various outputs or the network >>> itself. >>> >>> Best regards, >>> Michael >>> >>> >>> >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
