Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] vehicle parameters for the current step

Hi Jakob,

Hope you are well.
As discussed during the Sumo conference, that executeMove() in libsumo can be used to take a half step and read the speed of vehicles for the next timestep.

But the sumo master branch does not look stable and gives the following error. Please provide a stable branch to use.

CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python (missing: Python_EXECUTABLE Python_INCLUDE_DIRS
  Python_LIBRARIES Interpreter Development Development.Module
  Development.Embed)
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.22/Modules/FindPython.cmake:561 (find_package_handle_standard_args)
  CMakeLists.txt:217 (find_package)

Thanks,
Mahima

On Sun, Sep 25, 2022 at 12:01 PM Mahima <mahima13@xxxxxxxxx> wrote:
Hi,

Is there any way to read the vehicle's speed, lane and position in the current timestep?

libsumo::Vehicle::getLanePosition
libsumo::Vehicle::getSpeed
All these APIs, give information about the last timestep.

Thanks

Back to the top