[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] traci.vehicle.changeSublane giving a warning
|
call changeSublane(vehID, 0) to return lateral control to the internal model.
Thank you for your help! It's working now.
But I have a small issue; after the vehicle changes the lane, it doesn't stay on the center of the lane but keeps on driving on the right side of the lane as shown in the image.
I'm guessing this is due to the 'changeSublane' command still being in effect.
Is there any way that I can make the red vehicle in the attached image drive on the center of the lane?
I've read your response to earlier post where you suggested latAlignment="center" and lcLaneDiscipline="1" but this isn't working for me for some reason.
Any help would be greatly appreciated!
Thank you!
1) you first need to activate the sublane model using option --lateral-resoluton (the lane changing model SL2015 will then be used automatically)
regards,
Jakob
Hello,
I'm trying to learn how to use traci sublane command. I had two questions..
First, I'm trying to achieve a simple task; make the red vehicle in the attached image to do a sublane change between the two blue vehicles.
I changed the lane changing model to 'SL2015' but the command is giving me an error "Warning: Lane change model did not provide a reason for changing (state=14337, time=4.40)"
I got the same warning when I removed the two blue vehicles and made the red vehicle do the sublane change into an empty lane.
- Do I need to specify a reason for changing? If so, how and where do I do that?
- Can I force the sublane change into a gap that is as small as the vehicle length? or even smaller than a vehicle length (overlapping the red vehicle on top of blue vehicle)?
Thank you!
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user