Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » Eclipse Sumo » manual stop the vehicle in off-road
manual stop the vehicle in off-road [message #1869126] Thu, 01 August 2024 16:06 Go to next message
Tianjing Zhou is currently offline Tianjing ZhouFriend
Messages: 1
Registered: August 2024
Junior Member
I want to stop the vehicle in SUMO in an off-road area like the taxi in the idle behavior "stop". But I only found a function traci.vehicle.setStop(), which I can only stop the car in the lane. In this case, the other cars cannot drive past the lane. Would it be possible to park the vehicle in an off-road area?
Re: manual stop the vehicle in off-road [message #1869774 is a reply to message #1869126] Sat, 24 August 2024 08:26 Go to previous message
Darrin  Vitiello is currently offline Darrin VitielloFriend
Messages: 3
Registered: August 2024
Junior Member
To park a vehicle in an off-road area in SUMO, you can't use traci.vehicle.setStop() directly as it stops vehicles on lanes, blocking traffic. Instead, create custom edges or parking areas in your SUMO network (net.xml), then use traci.vehicle.moveTo() to move the vehicle to these off-road zones. Alternatively, implement a custom vehicle behavior script or adjust your simulation setup to guide vehicles to predefined parking areas.

Read More

[Updated on: Fri, 30 August 2024 08:36]

Report message to a moderator

Previous Topic:Highway Entries/Exits - Lane change
Next Topic:install libtraci C++ on Ubuntu 20.04
Goto Forum:
  


Current Time: Tue Jan 14 21:13:57 GMT 2025

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

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

Back to the top