Currently, the only way to replay pre-defined trajectories precisely is to use traci function vehicle.moveToXY and person.moveToXY in every simulation step. For an explanation on the function, see https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html#move_to_xy_0xb4 For examples on using traci with python see https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html
regards, Jakob Am Do., 25. Feb. 2021 um 14:16 Uhr schrieb Ralph Stömmer <[email protected]>: > Dear Sumo-Users, > > I started to apply SUMO for traffic generation. Is there a > straightforward way in SUMO to control / define the trajectory of single > traffic participants (cars, pedestrians)? > > Purpose: I want to apply SUMO to generate scenarious with a specific car > / pedestrian crossing the road in a repetitive predefined manner. The > trajectory control for single participants should override any traffic > rules the traffic participants normally adhere to in SUMO. > > I checked contributions from previous SUMO user conferences, and the > article "Coupling SUMO with a motion planning framework for automoated > vehicles" from Moritz Klischat seems very close. > > If there is a straightforward way in SUMO to accomplish this task which > I wasn´t able to find so far? > > If there is no straightforward way in SUMO, I am happy about your advice > on alternative software / python scripts which can be coupled with SUMO > to control trajectories of individual traffic participants. > > Thanks a lot for your guidance! > > Ralph Stömmer > > > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
