Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] getSpeed vs. getFollowSpeed
  • From: "Bae, Jong In" <jbae42@xxxxxxxxxx>
  • Date: Sun, 3 May 2020 23:56:31 +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=KpssSgpKGzS/VomeP57VRPoUUwowZ0Vvx/GfJBJV+BI=; b=Z2Ql+JQSP1a2e5TtzqZIDiswq7wmwiJw2OpPKEYl+YKAX4YGwpCpoHYjYYVLYPWsZwsujJPfCBT7DPbFrAFYEawa/e+5UVTClTDXB8XkuPEicJOAmcQSopa8Y8JcX60VonUgNcr//x+h7KeFUsSokyEgNTRvi1m9UscBxfJt6VngsJR7GZLd/Wbepn16VnqMCLoDGP7Xd9O5VGAvIJ4Cv1yR+QgQEYAMgp6WyV5nJI+6apnazmCffiiOvh/VJjbVmCY4aHeGY3lKGY0ZVjVuHfr7UjQJYpdDij5IxJOLRc4jt7GC5EmaU2w6a9i0C+tP1fgtRdldiGpvvPzS5/AO+g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NgLBvWoXXldQ3SLhXtOlzo+WlbeHF4YcsqOJbEaj+L1YfXudVAPo37G4QFMn1kew/OlWgddHczxpWo1udv4jYrFl2W+v0DCc+Zf07WoNE/LeoknEBd4eiupraXlKwQqTQ8jrIxCMOJRxPgNknrXcfM/ruKnwIu1kRSU+ohAnHmPlMPsQCHJP9wHJuJdxh/AX4U2W9zFo9Cayw4Yhsoe6Qns8yKnWlH0yqt5JaAQxIl+dViwNu4Q2ySMKWpW+49Y9lPWgrPobp2PyF2kcOzQwWWvoIS/4k0l0zGCnsV39I/uWnIe+EavlGVjQK4Q0Ve1YvVlpCvtSgBrp/nhqf3dgiA==
  • 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: AQHWIaO5Y6nhMWOHEE2/YqPao/X0Yw==
  • Thread-topic: getSpeed vs. getFollowSpeed

hello,

I am trying to understand the difference between getSpeed and getFollowSpeed.
Based on the definition, it seems like getSpeed returns the speed from the current time step whereas getFollowSpeed returns the speed for the next timestep (calculated by the carFollowingmodel).

However, when I printed both speeds it seems like getFollowSpeed returned the current time step's speed and getSpeed returned the speed from the last time step.
I attached a screenshot that shows both getSpeed and getFollowSpeed printed in command window and the current status of the vehicle in simulation.

The first highlighted speed is the 'getFollowSpeed' and the second highlighted speed is the current speed of the vehicle (in simulation).

If 'getFollowSpeed' doesn't return the next timestep's speed, is there any way in SUMO to predict the next timestep's speed?

Thank you,


Attachment: speedq.PNG
Description: speedq.PNG


Back to the top