Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] related to unusual de-acceleration and couldChangeLane() function

1) occasional lane-changing at speed 0 is a know issue. However, the wording of your question is unclear. The function couldChangeLane() by itself does not trigger any lane changes. It just tells you that a traci request to change lanes would have succeeded in the previous time step. You are free to not request lane changes via TraCI at speed 0
2) Sumo uses speeds in m/s everywhere so a value of 80 would be interpreted as 288km/h. Vehicle speed is likely constrained by road speed (29m/s ~ 100km/h) in your case

regards,
Jakob

2018-08-16 6:54 GMT+02:00 himanshu soni <himanshusoni1333@xxxxxxxxx>:
Hello,
I have doubts related to de-acceleration and couldChangeLane() function, the couldChangeLane function changes lane even when the vehicle is waiting(speed=0kmph) on the traffic junction(both the left and right lanes are empty). So is there a way that I make that stop.
Also, I have a case for unusual decel, where at one time step I set the value of speed=80kmph and check for the decel pattern, at the next time step the vehicle reduces its speed to 29kmph
(Both accel and decel have their default values)
So, kindly help me understand this.
Regards 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top