1) Yes. However, this works by removing the current walking stage and
adding a replacement.
2) You need the whole edge list
3) The edge list can be computed by calling
traci.simulation.findIntermodalRoute
4) The shuttle doesn't have stages (those are parts of a person plan).
Instead, a vehicle has a list of edges and a list of stops associated with
those edges. To extend the route you could do the folloing:
 - use simulation.findRoute to compute the edges to the next target
 - extend/replace the route using vehicle.getRoute and vehicle.setRoute
 - add the new stop using vehicle.addStop

regards,
Jakob

Am Do., 4. Apr. 2019 um 10:54 Uhr schrieb steniero <[email protected]>:

> Hi,
> I want to perform a simulation with pedestrians and shuttles, I would like
> to know some things about TraCI:
>
> 1 - Is it possible to change destination to a pedestrian with TraCI while
> he is already in the simulation?
> 2 - In setting a route for a pedestrian, do I need the Whole edge list?
> can't it be retrieved just setting origin and destination?
> 3 - If I have to insert the Whole list of edges, can I obtain it with a
> command like getRoute?
> 4 - If my shuttle has already a fixed route and I have to append a driving
> strange, can I just set origin and destination of the driving stage?
>
> Thank you very much
> Best regards
> Stefano
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to