carlanet / carlanetpp

MIT License
1 stars 1 forks source link

Trouble linking zeromq with CARLANeT in OMNeT++ (Windows) #1

Open isha3026 opened 4 months ago

isha3026 commented 4 months ago

Hello,

I want to co-simulate OMNET++ and Carla using CARLANeT and I am trying to run the example car_light_control. My system configurations are Windows - 10.0.22631 - AMD64, Processor - 13th Gen Intel(R) Core(TM) i7-13850HX 2.10 GHz, 32GB Ram.

First, I followed the instructions given in the pyCARLANeT side () . I cloned the repository and tried to run the car_light_control example as per the command given using Python 3.8.10, pip 22.3.1. I have the Carla version 0.9.13 installed on my windows system. I first run the carla server on port 2000 and then tried to run the car_light example of CARLANeT. In order to co-simulate it with OMNET++ I then followed the instructions given in the CARLANeTpp side.

Requirements for the CARLANeTpp are as follows: OMNeT++ - installed OMNET++ 6.0.2 INET - installed INET 4.4 nlohmann/json - cloned the repo but not sure where to keep it in the OMNET workspace zeromq - doubts in installation

Which library of zeromq I need to install for windows which will help in co-simulation? I installed libzmq using vcpkg as mentioned in the instructions (https://github.com/zeromq/libzmq).

lizmq installed

After this, I am unsure how to link/use this package to OMNET++ carlanet workspace.

carlanet workspace

It would be very helpful if anyone can guide how to run the car_light_control example here after. Thank you in advance!

christianquadri commented 3 months ago

Hello, thank you for being interested in our project.

The library nlohmann/json is directly included in the carlanetpp project in the folder src/lib and should have been already referenced from there. As for libzmq, the command you linked should install the library in the "system library" folder, and it should be automatically link during the linking phase.

Please let me know if this is correct.

Bye Christian