No, my scenario does not use opposite-direction driving. It's a 3-lane highway 
section all in the same direction.
I temporarily worked around the issue by calling the laneChange traci command 
on the target lane so the vehicle has a new motivation to stay on the target 
lane.

However, I will have to turn on and off the laneChange command in the future 
scenario.
Is there any way to turn off a traci command instead of overriding with a new 
command?
For example, the setSpeed command has a way to give speed control back to SUMO 
by calling setSpeed(vehID, -1).
I'm looking for something similar for the laneChange command.

Thank you so much for your help!
________________________________
From: sumo-user <[email protected]> on behalf of Jakob Erdmann 
<[email protected]>
Sent: Sunday, February 7, 2021 5:20 AM
To: Sumo project User discussions <[email protected]>
Subject: Re: [sumo-user] Vehicle returns to original position after 'MoveTo' 
Command

Is your scenario using opposite-direction driving?

Am Fr., 5. Feb. 2021 um 21:59 Uhr schrieb Bae, Jong In 
<[email protected]<mailto:[email protected]>>:
Hello,

In my scenario, I am using 'moveTo' traci command to force a lane change.  To 
be more descriptive, I am using the following line;
'traci.vehicle.moveTo(veh_ID, targetlane, 
traci.vehicle.getLanePosition(veh_ID))'

However, I'm observing some cases where vehicles get returned to its original 
position as soon as they were moved by the traci command.

I turned off some of the lane changing model parameters as follows:
lcStrategic="0" lcAssertive="1" lcCooperative="0" lcSpeedGain="0" lcPushy="0" 
lcImpatience="0"

Would there by any other reason that is causing this problem?
Also, in some of the cases where the vehicle is returned to its original 
position, the following vehicles were passing through as it the vehicle is 
invisible.

Any help would be greatly appreciated!

Thank you,
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cjbae42%40gatech.edu%7C35feca873658400e663108d8cb521766%7C482198bbae7b4b258b7a6d7f32faa083%7C0%7C0%7C637482900734866128%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IIN4lHjlvssXlHxcJFxbW9tmZmymn4uG4s8US0wbJW4%3D&reserved=0>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to