Hello,
our traci code exploits the dynamic nature of python for some nice features
but this breaks many code-completion engines.
regards,
Jakob
2018-03-24 17:29 GMT+01:00 Jonathan Harper via sumo-user <
sumo-u...@lists.sourceforge.net>:
> Hello,
>
> Currently using Traci to interface with SUMO.
this is working in our tests.
Please make sure that routing is possible between these edges (i.e. by
tring to add the vehicle with a complete list of edges)
and that the vehicle has the appropriate type (with rerouting enabled).
If it still fails, send me your scenarion files for debugging.
regards
1) draw the traffic zones as polygons in netedit
2) convert this into traffic zones: sumo/tools/edgesIndistrcits.py -n
net.net.xml -t your.poly.xml
3) write a demand configuration for od2trips and then run od2trips -n
districts.taz.xml --od-amitran-files demand.xml - trips.trips.xml
Hello,
Currently using Traci to interface with SUMO. One small problem I have ran into
is code completion (I’m using Pycharm), for example if I’m inserting ‘traci.’,
instances such as ‘edge’ do not appear in the list. Further when typing
‘traci.edge.’, functions associated to that do not show u
Hello,
I’m attempting to add trips and have the vehicle route dynamically at runtime.
I am using the tutorial from
http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python#Add_trips_.28incomplete_routes.29_dynamically
under “Add trips (incomplete routes) dynamically” subheading.
When adding