Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » Eclipse Sumo » Does SUMO have a functionality where I might get coordinates and timestamps of the future path it
Does SUMO have a functionality where I might get coordinates and timestamps of the future path it [message #1858634] Wed, 12 April 2023 16:32 Go to next message
Ishan Upadhyay is currently offline Ishan UpadhyayFriend
Messages: 1
Registered: April 2023
Junior Member
Hello everyone,

I was trying to implement responsibility safety rules for a project under a professor.

The algorithm is as follows,

Firstly we would randomly initialize the start and end points of cars, then we would calculate the conflict zones of each of the cars using future paths.

The conflict zones would then be realized on a case-by-case basis.

But the main problem I am having is figuring out a way to get the future path of a car.

Can I do it in SUMO, if yes the how if not then is there any other simulator which might be helpful for this project?
Re: Does SUMO have a functionality where I might get coordinates and timestamps of the future path i [message #1859676 is a reply to message #1858634] Thu, 22 June 2023 08:18 Go to previous message
Kabiru Usman is currently offline Kabiru UsmanFriend
Messages: 42
Registered: April 2023
Member
SUMO does let you do that. You gotta use the TraCI API to get planned route info. You can call the getRoute function, which gives you a list of edge IDs the vehicle plans to travel.

For the timestamps, things are a bit trickier 'cause SUMO doesn't directly provide future timestamps. But you could estimate them using the vehicle's current speed and the length of each edge on the route.

If you wanna explore other options, NETSIM and MATSim are solid choices too. They're a bit more complex but offer more detailed outputs.

Hope this helps, mate.
Previous Topic:Restrict parking lanes when they are occupied
Next Topic:export road geometry to blender
Goto Forum:
  


Current Time: Sun Mar 03 12:51:56 GMT 2024

Powered by FUDForum. Page generated in 0.02220 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top