Re: [sumo-user] TraCI API xercesc dependency

2024-01-04 Thread Matthew Jones via sumo-user
Hello Mirko, Thanks. I think it is failing because of this code in sumo\utils\common\StringUtils.h #include  // line 29 // line 143: /**@brief converts a 0-terminated XMLCh* array (usually UTF-16, stemming from Xerces) into std::string in UTF-8 * @throw an EmptyData - exception i

Re: [sumo-user] TraCI API xercesc dependency

2024-01-04 Thread Mirko Barthauer via sumo-user
Hi Matthew, currently we have xerces-c-3.2.4 in our SUMO library repo at and use that for compiling the current SUMO version. In general, xerces is used in SUMO since very long ago, way before release 1.8.0. Not sure why this b

[sumo-user] TraCI API xercesc dependency

2024-01-04 Thread Matthew Jones via sumo-user
Hello, Our simulation talks to Sumo using TraCI. At the moment we are simply cloning https://github.com/eclipse/sumo.git/tags/v1_8_0/src to get the TraC API. We are not using libsumo, but have these source files in our Windows project: I have just tried updating to 1.19.0 but this

Re: [sumo-user] SUMO-gui background options

2024-01-04 Thread Mirko Barthauer via sumo-user
Hi Hector, you can download satellite image tiles ready to import with our helper script tileGet.py (see docs ). You'll need a Google Maps key though. The script supports other background sources like MapQuest and ArcGIS as well. Best rega

Re: [sumo-user] Connecting to SUMO server by Traci

2024-01-04 Thread Mirko Barthauer via sumo-user
Hi Ainhoa, I haven't used Artery myself so I am not sure about how exactly sumo is called. But sumo has to be told how many TraCI clients it expects by --num-clients if you want to connect more of them (see docs ). Best regards Mirko

Re: [sumo-user] How to modell sharp turns of long vehicles that need a hole in the opposing trafic

2024-01-04 Thread Mirko Barthauer via sumo-user
Something I forgot in the previous mail: - you can restrict the access of lanes and connections such that there is one connections exclusively for trucks and the other for all except trucks. Mirko -Ori

Re: [sumo-user] How to modell sharp turns of long vehicles that need a hole in the opposing trafic

2024-01-04 Thread Mirko Barthauer via sumo-user
Hi Bernhard, I'm not sure SUMO can model this case correctly without side effects. Some thoughts: - you can give the connection a custom shape which cuts into the opposing traffic (see context menu of connections in netedit or PlainXML

[sumo-user] Connecting to SUMO server by Traci

2024-01-04 Thread Ainhoa Lizaso Eguileta via sumo-user
Hi! I am trying to connect to the sumo server from an external python file by using traci. I am using the simulator artery which incorporates sumo. I have the option to define the sumo server to the port I want. In fact, sumo-gui logs return ***Starting server on port 8000 *** with the port select

[sumo-user] How to modell sharp turns of long vehicles that need a hole in the opposing trafic

2024-01-04 Thread Bernhard Seckinger via sumo-user
Hi, I need to model a truck not being able to do a right turn on a sharp corner (160° turn) while traffic blocks the opposing lane. A small example, which might help to clearify things: test.nod.xml: test.edg.xml: test.rou.xml: In this example