Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Predefined vehicle speed and position inputs

Hi,

So if I were to have a data set similar to the data below, as well already have a simple network, route and configuration file through NETEDIT. How would I move a vehicle according to this data using TraCI, but without having to re-define my network, route and configuration files in a Python script as I've seen in examples from SUMO_HOME?

I am just confused on where to begin. Do I begin to edit specific parameters within constants.py to then be called in a script I have created or can I simply define these parameters right away to get the results I want?

Inline image 1

Thanks,

Quinton


On Tue, Feb 13, 2018 at 2:23 AM, Jakob Erdmann <namdre.sumo@xxxxxxxxxxxxxx> wrote:
You can do this by remote controlling selected vehicles using the TraCI method 'traci.vehicle.moveToXY' (http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#move_to_XY_.280xb4.29)

regards,
Jakob

2018-02-12 21:17 GMT+01:00 Quinton Velcic <velcic@xxxxxxxxxxx>:
Hi,

I would like to know if there is anyway to use predefined vehicle positions and speeds for each time frame as inputs instead of using routes?

For example, within the simulation two vehicles will have speed and position data that was already determined (what we want to be able to define within SUMO) while a third vehicle will have a specified route (route.file) that moves according to the IDM car-following model.

The idea is to replicate external vehicle course files used in Vissim.

Thanks,

Quinton

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.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://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top