Dear Mazyiar,
 
please look into libtraci <https://sumo.dlr.de/docs/Libtraci.html> (C++ 
API) or libsumo <https://sumo.dlr.de/docs/Libsumo.html> (dll) and study the 
given example source code.
 
Best regards
Mirko
 
PS: Although you get help here about using SUMO, this is not equivalent to 
a "customer service" you get when you a) buy a software b) pay a fee.
 
 
 
 
-----Original-Nachricht-----
Betreff: [sumo-user] Inquiry Regarding C++ Equivalent Code for SUMO TraCI
Datum: 2024-01-12T22:58:55+0100
Von: "maziyar layegh via sumo-user" <sumo-user@eclipse.org>
An: "sumo-user@eclipse.org" <sumo-user@eclipse.org>
 
 
 
 
Dear SUMO Customer Service,
I hope this message finds you well, and I am currently working on a project 
that involves connecting SUMO into a C++ application. In my Python 
implementation, I found the following python code to set up TraCI:
import os, sys
if 'SUMO_HOME' in os.environ:
      tools = os.path.join(os.environ['SUMO_HOME'], 'tools')
      sys.path.append(tools)
else:
     sys.exit("please declare environment variable 'SUMO_HOME'")
 
I am now looking for the equivalent code in C++ to achieve the same 
functionality. Specifically, I need to set up TraCI for communication 
between my C++ application and SUMO.

Could you please provide guidance or a code snippet that accomplishes this 
task in C++? I appreciate your assistance in helping me seamlessly 
integrate SUMO into my C++ project.

Thank you for your time and support. I look forward to your prompt 
response.

Best regards,
 

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

Reply via email to