[sumo-user] How to set a exection order for a software client VTD in a multiple TraCI clients situation.

classic Classic list List threaded Threaded
2 messages Options
Duo
Reply | Threaded
Open this post in threaded view
|

[sumo-user] How to set a exection order for a software client VTD in a multiple TraCI clients situation.

Duo
Hi everyone,

I have connected a virtual driving simulator, Virtual Test Drive (VTD), with SUMO. I am trying to use a new client of TraCI which is implemented in a python script to extract some running data of the VTD vehicle "VTD_EGO". The connection between VTD and SUMO is also established by the TraCI API, thus I have fixed the value of <num-clients> to "2" in the sumocfg file and set the execution order of the python client using setOrder(2).

The problem is that I cannot figure out that how I can set the execution order for the VTD software in the VTD-SUMO connection when I want to add a new python client. The error report from SUMO is "execution order (lib sumo::CMD_SET ORDER) was not set for all TraCI". I have googled this problem but I found less useful things. Is that possible to set the execution order in the TraCI connection for VTD with an additional python script?

The VTD client and the python client are both tested OK at one-client and one-TraCI situation.

It would be great if anybody can help.

Thanks and best regards
Duo

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] How to set a exection order for a software client VTD in a multiple TraCI clients situation.

Jakob Erdmann
The VTD client needs a software patch where it calls setOrder. Until then it is not compatible with multi-client traci.
Please contact whoever provided you with the VTD client.

Am Do., 30. Juli 2020 um 11:23 Uhr schrieb <[hidden email]>:
Hi everyone,

I have connected a virtual driving simulator, Virtual Test Drive (VTD), with SUMO. I am trying to use a new client of TraCI which is implemented in a python script to extract some running data of the VTD vehicle "VTD_EGO". The connection between VTD and SUMO is also established by the TraCI API, thus I have fixed the value of <num-clients> to "2" in the sumocfg file and set the execution order of the python client using setOrder(2).

The problem is that I cannot figure out that how I can set the execution order for the VTD software in the VTD-SUMO connection when I want to add a new python client. The error report from SUMO is "execution order (lib sumo::CMD_SET ORDER) was not set for all TraCI". I have googled this problem but I found less useful things. Is that possible to set the execution order in the TraCI connection for VTD with an additional python script?

The VTD client and the python client are both tested OK at one-client and one-TraCI situation.

It would be great if anybody can help.

Thanks and best regards
Duo
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user