Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Speed output with 'SetDecel = 0'
  • From: "Bae, Jong In" <jbae42@xxxxxxxxxx>
  • Date: Mon, 27 Apr 2020 14:20:08 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=gatech.edu; dmarc=pass action=none header.from=gatech.edu; dkim=pass header.d=gatech.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QUjTkjDIc6M147he81L3CeEa0op8SQXI1ml7vHMVR0k=; b=CshPcCZquM991UbKN2Vpc//mn7BfK+bb5sjXlM31nwm1QbqXEeRsoUsSDoIbM/13PmyrkCp2godmakT4HLK2beq7LalgXvwtn/NtVKIF1uU9NPN3v6vnR82rCEuDPSX2i9qA6U4vs64hSAH4nq4pur9b1OM7pKnI9Gk7l4sO7ZlPC1Ou5B3vSxO2IWb86eF0hs+LQ7Yq3m9kMiqHz4kmxmFQCX7/ZhGeR+qwv1A4IfufR5rfC1XbieVlitqaxZaAOVWNtUjOkr56qJLqiWiiz28c8+u23Ttlv94d6ZiqsIoPWx5hVKSHPkgHS5kcblfbq4f1j82aAUblqAFia0RFgQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iV+7hryTf1PRFouJshuHiInt+/6YzIy9V55CAfO6oVt9rrmsTpTUOL1OZGE7KmLtmlLTjBs5QiPYwGhLE4yVnXYqv0wMvF8Zt22Fll8WnPULc0mA3hXX5dImIYC3aAigEyj3ES6oOKnCzMxtzbHOJthmBoaEf6cPk2BaqMdBmLjnLASfMr1mDgJRb5lu4WGXwIEf9e9QKmI+PJh27r2Pa53q4f1NKYa683Kqk2nE8t+IC0CBKZDPjwD4Jhk0NpjIawqCdRF3R8Yf6OMvu5hgjjKZ8ejha0fhjwbFooLAo2KR1AkLac2WdmMTHKcsd5xb79CbzWqRsXBJZcvr9kh11w==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWG3LHh6ybkvyCBEammLOTU6fajaiMvxmAgABB6EY=
  • Thread-topic: [sumo-user] Speed output with 'SetDecel = 0'

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: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: Monday, April 27, 2020 6:02 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
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 <jbae42@xxxxxxxxxx>:
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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top