[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Spawning and moving pedestrians in SUMO
|
Hi Marc,
I haven't had a look on the server side, but if the Python API works,
there is no reason a C++ API implementation should not. You can start
from C++ vehicle.moveToXY() and adjust the message components from there
(remove lane ID from the message, change the scope).
Mirko
Am 06.10.2019 um 14:20 schrieb Marc Zofka:
Dear Michael,
thanks for your response. Considering your reference [1], the python interface seems to support the movetoXY() capability for persons, whereas it is not supported by the C++ TraCI class (TraCIAPI.h). I assume, that is should be sufficient to adapt the vehicle scope's method moveToXY() to the person scope? Is the TraCI Server supporting this capability?
With best regards,
Marc
[1] https://sumo.dlr.de/pydoc/traci._person.html
Hi Marc,
to get an overview of what is possible with persons just look at https://sumo.dlr.de/pydoc/traci._person.html.
Best regards,
Michael
Am 2019-08-02 11:06, schrieb Marc Zofka:
Dear Sumo-Users,
is there a way to spawn and control pedestrians using TraCI
programmatically? I would also appreciate if there are some hints on
the wiki. Unfortunately, I could find any hints wrt. pedestrian
control over TraCI except that vehicles can be moved externally.
With best regards,
Marc Zofka
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
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
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user