[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] [EXTERNAL] Re: Traci passenger pickup and drop off
|
I see. That works. Thank you so much!
The problem with your drop-off lies in the mismatch between the configured stop position of the vehicle (middle of the edge) and the desired end point of the ride (end of the edge).
Consider the case of a single edge with multiple stops on it to understand why this must be checked. You can either
- increase the tolerance by setting sumo option <ride.stop-tolerance value="20"/> in your sumocfg
- change the stop position of the vehicle (i.e stop_pos2 = net.getEdge(do_edge).getLength() - 5)
- change the arrival position of the person. This is currently not possible with traci.person.appendDrivingStage (unless you define a busStop or parkingArea and use the stopID argument) but it can be accomplished with the more general person.appendStage function
regards,
Jakob
I see. Thank you for your information!
[Caution: Email from External Sender. Do not click or open links or attachments unless you know this sender.]
Also, if you do want to query vehicles after arrival (for a limited time), you can do so by setting option --keep-after-arrival TIME
Hi Rachael,
there is a small problem with your TraCI script which makes it crash when the vehicle has left the simulation (you cannot query values for vehicles which do not exist anymore). Other than that I cannot reproduce the problem using SUMO development version. Do you use the latest release?
Best regards,
Mirko
-----Original-Nachricht-----
Betreff: [sumo-user] Traci passenger pickup and drop off
Datum: 2024-11-05T22:36:01+0100
Von: "Rachael Yuan via sumo-user" <sumo-user@xxxxxxxxxxx>
An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>
Hello,
I am trying to use Traci to simulate the passenger pickup and drop off behavior. The passenger first walked to the pickup location and could be picked up by the vehicle. However, when the vehicle arrived and stopped at the drop off location, the passenger could not be dropped off. A sample network and code was attached, could you please take a look and let me know what might be the problem?
Thanks and regards,
Rachael
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user