carlanet / pycarlanet

MIT License
3 stars 1 forks source link

Error trying to run car_ligh_control and zmq server #2

Open MiniDudi opened 2 months ago

MiniDudi commented 2 months ago

I'm trying to run car_light_control and passing empty string in CarLightControl.carlanetManagerModuleType modal. I want to know how exactly should I open pycarlanet zmq server and why this error is happening.

pyCARLANeT

zmq server file image

CarlanetManager instance image

going for an error after start python car_light_control and insert empty string in the first modal. image

Omnet++ / carlanetpp / carla

image image image

christianquadri commented 1 month ago

Dear @MiniDudi, regarding the timeout, it seems that the client is unable to connect to Carla on the specified IP and port. Have you checked that CarlaUE4.sh command correctly opens the port 2000 on the specified host? Try to run the following command from your host nc -zvn 10.194.42.240 2000 if everything is working, it will answer something like Connection to 10.194.42.240 2000 port [tcp/*] succeeded!

As for the empty parameter, it is requested only if you want to dynamically generate actors in Carla that you want to be present also in OMNeT++.