Open LemonPasserby opened 5 months ago
The lateral acceleration is limited by the lane change parameter lcAccelLat
. If changing this does not help, could you maybe plot the speed over time and the lateral position over time (both requested and sumo)? This would be much easier to interpret as a bunch of numbers.
thank you for your advice. The timestep is 0.1s. The whole lane change process is about 3s and the lanewidth is 3.5m. So i think lcAccelLat='4'
won't be over large.
Then I try 'lcAccelLat=8'
and 'lcAccelLat=100'
, as the results show. Surprisely, when it is 'lcAccelLat=100'
, the vehicle can follow the planned trajectory perfectly. How did that happen?
well, I tried lcAccelLat=20
. The ego-vehicle could also follow perfectly while lcAccelLat=15
couldn't.
Hello!I met a problem when the ego vehicle was executing lane change with the given trajectory, and the scenario is the three-lane highway. Trajectory planning was based on quintic polynomial curves.
1. My problem
the vehicle didn't quite follow the given trajectory when executing lane change. In the beginning, it could follow the speed quite well. However, as the planned speed increased, the actual speed of ego-vehicle keeped constant. After a while, its actual speed increased but did't follow the given trajectory. here is the comparision of the position and speed between the planned trajectory and the actual trajectory:
![image](https://github.com/eclipse-sumo/sumo/assets/101961986/8e21fd55-26ea-42ee-98d8-7f3f5a7f2cee)
self.realEgoY
refers to the actual lateral movement of ego-vehicleself.plan_y_ego
refers to the planned lateral movement of ego-vehicleself.realEgoLatVel
refers to the actual lateral speed of ego-vehicleself.latVelInfo
refers to the planned lateral speed of ego-vehicle (only shows 1.1s)2. My codes
lcSublane
, but there aren't apprent differences.<vType id="ego" accel="4" decel="4" emergencyDecel="9.0" length="5" color="1,0,0" vClass="passenger" maxSpeed="34" carFollowModel="IDM" laneChangeModel="SL2015" lcAccelLat="4.0" lcSublane="0.1" maxSpeedLat="3.0"/>
relLatMove
refers to the planned lateral movementplan_vx_ego
refers to the planned longitudinal speed3.
I’m sure there aren't any other vehicle in the road. The above are some necessary settings. If there are any other settings i should share, please tell me. I am really appreciated if anyone can solve this error
SUMO-version: 1.18.0
operating system: window 10