Hi Jacob,

Thanks for your response.
I fixed the issue with _connection by means of traci.getConnection(label=
"default")set to the VehicleDomain() instance, before adding each vehicle
in the network.

regards,
Graz

Il giorno dom 10 mar 2019 alle ore 19:58 Jakob Erdmann <
namdre.s...@gmail.com> ha scritto:

> These attributes are initialized at runtime which confuses typical
> development environments.
> When using traci you do not need to import the domains separately. Instead
> you should access them via the traci module
> (traci.vehicle) or via the connection object returned from traci.connect
> (useful only when managing multiple traci connections in the same script).
>
> regards,
> Jakob
>
>
> Am So., 10. März 2019 um 17:37 Uhr schrieb Graziano Manduzio <
> graziano.mandu...@gmail.com>:
>
>> Hello users!
>>
>> In traci, the attributes of domain.Domain._connnection seem to be not
>> initializated
>> E.g.  _connection._beginMessage: because of that some methods, for
>> instance _vehicle(.py).vehicleDomain.add(), seem to not work in the right
>> way.
>> However, I have not reported the issue on GitHub yet, because I'm not
>> pretty sure about that.
>> Can anyone help me please?
>>
>> Thanks in advance,
>> Graz
>>
>> _______________________________________________
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> 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@eclipse.org
> 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@eclipse.org
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