Dear, Vehicle always stop on the specified lane even duration is over.
On Tue, Sep 11, 2018 at 7:28 PM Jakob Erdmann <[email protected]> wrote: > What are the symptoms of "not working"? > > 2018-09-10 13:58 GMT+02:00 Ei Ei Mon <[email protected]>: > >> Dear, >> >> Thank you for your time. >> >> Now I use sumo 1.0.0 version. When I try to create accident case as the >> following: >> >> if(step>=21600 and step<=22000): >> >> >> traci.vehicle.setStop('43.0',edgeID='L10189',laneIndex=1,pos=90,duration=600,flags=0,startPos=50); >> >> *duration *is not still working. Something wrong in my code? >> >> >> with best regards, >> >> >> On Mon, Sep 10, 2018 at 6:09 PM Jakob Erdmann <[email protected]> >> wrote: >> >>> Answers below: >>> >>> Now I would like to know about the difference between the outputs of >>>> edge-based measures and using lane area detectors. I want to get the >>>> information related with edge like density, occupancy , speed. For this >>>> purpose, which of the following approaches is suitable? >>>> >>>> 1) edge-based measures >>>> 2)using lane-area detectors >>>> >>> >>> The main difference is that edge based measures always count the whole >>> edge whereas detectors only count a lane section. >>> Both approaches are possible but edge based measures require less >>> aggregation if you need the data for the whole edge. >>> >>> >>> traci.vehicle.setStop('43.0',edgeID='L10189',laneIndex=1,pos=90,duration=600,flags=0,startPos=50); >>>>> >>>>> but in this case, *duration *attribute is not working. >>>>> >>>>> In older versions of SUMO, setStop requires a duration in >>> milliseconds. since 1.0.0 duration is in seconds. >>> >>> >>>> >>>>>> In my case, I want queue length of each edge. For this case, now I >>>>>> compute the average value from queue length of each lane by using lane >>>>>> area >>>>>> detector. Is it possible by using this way? Or are there any other >>>>>> methods >>>>>> to get queue length directly from each edge? >>>>>> >>>>>> No, the queue length is only available for each lane. You have to >>> aggregate the edge data yourself. >>> >>> regards, >>> Jakob >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To change your delivery options, retrieve your password, or unsubscribe >>> from this list, visit >>> https://dev.eclipse.org/mailman/listinfo/sumo-user >>> >> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://dev.eclipse.org/mailman/listinfo/sumo-user >> >> > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
