Thank you Jakob for your help.

I have a follow up question on 'SetDecel' function.

When I'm trying to bring the speed back up, the vehicle won't accelerate when 
Decel = 0.
And lower acceleration rate was found with lower deceleration value.
Once the deceleration value was restored to the original value (4.5), the 
vehicle speed was restored as previous condition.

setSpeed was set as -1 so the vehicle was no longer under the influence of any 
speed function.

I was wondering how the deceleration value affects the acceleration rate in 
SUMO.

Thank you!
________________________________
From: [email protected] <[email protected]> on behalf 
of Jakob Erdmann <[email protected]>
Sent: Monday, April 27, 2020 6:02 AM
To: Sumo project User discussions <[email protected]>
Subject: Re: [sumo-user] Speed output with 'SetDecel = 0'

Hello,
- getSpeedWithoutTraci does not affect vehicle speed
- the combined effort of setSpeed(vehID, 0) and setDecel(vehID, 0) is that the 
vehicle tries to decelerate to 0 but cannot do this (because the maximum 
deceleration is 0) and therefore remains at constant speed.
- to reset the influence of a prior setSpeed command and restore  sumo speed 
control, call setSpeed(vehID, -1)

regards,
Jakob

Am So., 26. Apr. 2020 um 04:49 Uhr schrieb Bae, Jong In 
<[email protected]<mailto:[email protected]>>:
Hello,

In my scenario, I changed my vehicle's speed and deceleration to 0 using 
'setSpeed' and 'setDecel'.
Then I used 'getSpeedWithoutTraCI' to get rid of the influence of traci on my 
vehicle's speed (and in order to bring the speed back according to the traffic 
condition).
But the speed of the vehicle doesn't increase but is stuck at 1.47m/s even when 
the space in front of the vehicle clears up.

Does assigning 'setDecel = 0' influence the acceleration of the vehicle as well?

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
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to