Hello,

I am trying connect to SUMO from C++ program via TraCI.

I follow the instruction from the link:
http://sumo.dlr.de/wiki/TraCI/C%2B%2BTraCIAPI

1. Firstly, I downloaded C++ TraCIAPI library.
2. I install this library.

Now I want to use this library to connect my C++ program. In my work, I
want to control the traffic signal of one intersection by sending signal
duration from C++ program to SUMO traffic scenario.

My questions are:
1. Do I need copy all below files to my C++ program folder?

src/traci/TraCIAPI.h
src/traci/TraCIAPI.cpp
src/foreign/tcpip/socket.h
src/foreign/tcpip/storage.h
src/traci-server/TraCIConstants.h
src/config.h (or src/windows_config.h)

2. There is no traci folder in the library I downloaded. Therefore I can
not find these below files:

src/traci/TraCIAPI.h
src/traci/TraCIAPI.cpp

3. Do you have any examples about connecting to SUMO from C++ program?

Thank you so much for your kindly help.

Best regards,

-- 
Ms. Phuong Thi Mai Nguyen
PhD student, De Montfort University,
Leicester, UK.
Email: <email%[email protected]> [email protected]
          [email protected]
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to