[sumo-user] changeSublane problem

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[sumo-user] changeSublane problem

謝昀宸
Hello,
I want to park two vehicles next to each other on the side of the road. 
However, the rear vehicle wants to avoid the parking vehicle in front and changes its sub-lane by itself. I can't park the behind vehicle on the desired sub-lane
Just like the attached image. The direction of the arrow is where I want him to stop
I set 'LaneChangeMode'  is 1617, I also tried other values in order to solve this problem
But it can only keep the vehicle in the middle of edge. It can't be the same as the vehicle in front



Many thanks,
Yun

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

image.PNG (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] changeSublane problem

Jakob Erdmann
The vehicle tries to avoid the vehicle ahead due to the  'speed gain' motivation. You could disable this with another value for setLaneChangeMode.

Am Mo., 28. Dez. 2020 um 07:59 Uhr schrieb 謝昀宸 <[hidden email]>:
Hello,
I want to park two vehicles next to each other on the side of the road. 
However, the rear vehicle wants to avoid the parking vehicle in front and changes its sub-lane by itself. I can't park the behind vehicle on the desired sub-lane
Just like the attached image. The direction of the arrow is where I want him to stop
I set 'LaneChangeMode'  is 1617, I also tried other values in order to solve this problem
But it can only keep the vehicle in the middle of edge. It can't be the same as the vehicle in front



Many thanks,
Yun
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] changeSublane problem

謝昀宸
Thank you for your reply,
I changed the option of 'speed gain' and successfully stopped the vehicle continuously. 
Except that the 'stopState' of the first vehicle is true, the 'stopState' of the subsequently stopped vehicles is false but the speed is 0
Is there a solution?(I use Traci's setStop to stop the vehicle)

Many thanks,
Yun

Jakob Erdmann <[hidden email]> 於 2021年1月4日 週一 下午5:44寫道:
The vehicle tries to avoid the vehicle ahead due to the  'speed gain' motivation. You could disable this with another value for setLaneChangeMode.

Am Mo., 28. Dez. 2020 um 07:59 Uhr schrieb 謝昀宸 <[hidden email]>:
Hello,
I want to park two vehicles next to each other on the side of the road. 
However, the rear vehicle wants to avoid the parking vehicle in front and changes its sub-lane by itself. I can't park the behind vehicle on the desired sub-lane
Just like the attached image. The direction of the arrow is where I want him to stop
I set 'LaneChangeMode'  is 1617, I also tried other values in order to solve this problem
But it can only keep the vehicle in the middle of edge. It can't be the same as the vehicle in front



Many thanks,
Yun
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] changeSublane problem

Jakob Erdmann
If you are using setStop for the second vehicle it will only count as stopped if reaches speed 0 between the startPos and pos. (by default startPos is not set and the vehicle must reach endPos).

Am Di., 5. Jan. 2021 um 10:28 Uhr schrieb 謝昀宸 <[hidden email]>:
Thank you for your reply,
I changed the option of 'speed gain' and successfully stopped the vehicle continuously. 
Except that the 'stopState' of the first vehicle is true, the 'stopState' of the subsequently stopped vehicles is false but the speed is 0
Is there a solution?(I use Traci's setStop to stop the vehicle)

Many thanks,
Yun

Jakob Erdmann <[hidden email]> 於 2021年1月4日 週一 下午5:44寫道:
The vehicle tries to avoid the vehicle ahead due to the  'speed gain' motivation. You could disable this with another value for setLaneChangeMode.

Am Mo., 28. Dez. 2020 um 07:59 Uhr schrieb 謝昀宸 <[hidden email]>:
Hello,
I want to park two vehicles next to each other on the side of the road. 
However, the rear vehicle wants to avoid the parking vehicle in front and changes its sub-lane by itself. I can't park the behind vehicle on the desired sub-lane
Just like the attached image. The direction of the arrow is where I want him to stop
I set 'LaneChangeMode'  is 1617, I also tried other values in order to solve this problem
But it can only keep the vehicle in the middle of edge. It can't be the same as the vehicle in front



Many thanks,
Yun
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user