Thank you so much Jakob. I thought I wasted 2 days fixing this error. Thank you so much
On Fri, Aug 3, 2018, 2:00 AM Jakob Erdmann <[email protected]> wrote: > Thank you for providing the example scenario. > You've encountered a bug in function couldChangeLane which would give > wrong results immediately after a lane change. > https://github.com/eclipse/sumo/issues/4381 > This is now fixed in the latest development version. > You may either update your sumo version (new binaries available tomorrow > at http://sumo.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version) > or circumvent the problem by catching the error like this: > > try: > traci.vehicle.changeLane("newVeh1", > currentLane, 2000) > except > traci.TraCIException: > pass > > regards, > Jakob > > 2018-08-02 11:16 GMT+02:00 himanshu soni <[email protected]>: > >> >> >> >> On Thu, Aug 2, 2018 at 2:43 PM himanshu soni <[email protected]> >> wrote: >> >>> There is an error in the function call getLaneChangeStatePretty(), and >>> other are attached in the mail, and the red vehicle is my target vehicle. >>> >>> On Thu, Aug 2, 2018 at 12:20 PM Jakob Erdmann <[email protected]> >>> wrote: >>> >>>> please select one situation from your simulation where the result of >>>> couldChangeLane does not match your expectation >>>> For that situation, provide the following information: >>>> - the output of the calls getLaneChangeStatePretty(vehID, -1) and >>>> getLaneChangeStatePretty(vehID, 1) >>>> - a screenshot from sumo-gui centered on the vehicle with ~50m visible >>>> in all directions >>>> Additionally, please provide >>>> - the .sumocfg file >>>> - the .net.xml file >>>> - the output of the commandline call 'sumo --version' >>>> >>>> 2018-08-02 3:37 GMT+02:00 himanshu soni <[email protected]>: >>>> >>>>> Hello Jakob, >>>>> Give me suggestions related to this! >>>>> >>>>> On Wed, Aug 1, 2018, 2:53 PM himanshu soni <[email protected]> >>>>> wrote: >>>>> >>>>>> It doesn't help, using right-hand drive is giving me that error. Can >>>>>> you please go through the python code once. Corrected attachment is sent >>>>>> with this mail. >>>>>> Regards >>>>>> >>>>>> On Wed, Aug 1, 2018 at 2:27 AM Jakob Erdmann <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> The right of way rules are obviously different but apart from that, >>>>>>> the largest difference is the lane numbering which you already >>>>>>> encountered. >>>>>>> >>>>>>> 2018-07-31 19:19 GMT+02:00 himanshu soni <[email protected] >>>>>>> >: >>>>>>> >>>>>>>> Yes, it's left hand drive. Can you tell me what all things change >>>>>>>> in left hand drive? >>>>>>>> Thank you >>>>>>>> >>>>>>>> On Tue, Jul 31, 2018, 10:28 PM Jakob Erdmann <[email protected]> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Are you simulating left-hand traffic? In that case the lane >>>>>>>>> numbering would be reversed. >>>>>>>>> >>>>>>>>> 2018-07-31 18:03 GMT+02:00 himanshu soni < >>>>>>>>> [email protected]>: >>>>>>>>> >>>>>>>>>> I don't understand why I'm getting the error in using the >>>>>>>>>> function couldChangeLane(), the error gets resolved when I define >>>>>>>>>> the right >>>>>>>>>> lane with value 1 and left with -1, but the converse is the true >>>>>>>>>> version of >>>>>>>>>> it. >>>>>>>>>> Help me understand if this is kind of logical error or something >>>>>>>>>> else. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> 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 >>>>>>> >>>>>> >>>>> _______________________________________________ >>>>> 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 >
_______________________________________________ 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
