javyduck / ChatScene

[CVPR2024] ChatScene: Knowledge-Enabled Safety-Critical Scenario Generation for Autonomous Vehicles https://arxiv.org/abs/2405.14062
https://javyduck.github.io/chatscene/
MIT License
89 stars 5 forks source link

Connecting to CARLA on port 2002 #10

Closed Katikonst closed 2 months ago

Katikonst commented 3 months ago

After the update with dynamic mode,ChatScene is trying to connect on port 2002,but we still have the port==2000 in the repo. Is there a specific reason?

javyduck commented 3 months ago

Sorry for the confusion, I used port 2002 on my server for testing, if it is 2000 on you case, you can just set the port with --port 2000 and --tm_port 8000 https://github.com/javyduck/ChatScene/blob/b60ec6ea723b5c6c44f5fd6ff1e3f1a0ac45d929/scripts/run_train_dynamic.py#L44 It depends on which port you are using for running Carla.

Katikonst commented 3 months ago

Appreciate the quick response! Should I do it to run_train.py as well?

AHPUymhd commented 2 months ago

Sorry for the confusion, I used port 2002 on my server for testing, if it is 2000 on you case, you can just set the port with --port 2000 and --tm_port 8000

https://github.com/javyduck/ChatScene/blob/b60ec6ea723b5c6c44f5fd6ff1e3f1a0ac45d929/scripts/run_train_dynamic.py#L44

It depends on which port you are using for running Carla.

Can the latest version of Carla run code, please?

javyduck commented 2 months ago

I doubt it can't, different version of CARLA will use different definition of some APIs, but you can feel free to have a try.