Open hao-xiaoxing opened 5 days ago
I'm sorry to hear you're having this issue. However, I didn't understand what you did. Could you show the specific code you modified?
I'm sorry to hear you're having this issue. However, I didn't understand what you did. Could you show the specific code you modified?
我按照这个流程进行操作。run_model(net_file, rou_file, ego_veh_id="4", carla_cosim=True),当carla_cosim为False可执行,为True则任何反应
Do you download and replace the run_synchronization.py
file?
I'm sorry to hear you're having this issue. However, I didn't understand what you did. Could you show the specific code you modified?
我按照这个流程进行操作。run_model(net_file, rou_file, ego_veh_id="4", carla_cosim=True),当carla_cosim为False可执行,为True则任何反应
carla第一个终端执行 ./CarlaUE4.sh -world-port=2000 -resx=400 -resy=300 -quality-level=Epic;第二个终端执行 python3 config.py --map Town05;然后按照替换run_synchronization.py,并确保ego_id=‘4’,最后执行ModelExample.py
Do you download and replace the
run_synchronization.py
file?
yes
Do you download and replace the
run_synchronization.py
file?
我重新下载安装了limsim代码,以及其对应的虚拟环境;并重新下载替换了run_synchronization.py,确保ego_id匹配(都为4),但结果仍然与之前一致
Could you show me the output messages of the three terminals?
结果如上
It seems that you weren't successful in switching maps on the second terminal. This might be due to a mismatch between your simulator version and your API version.
当我设置为carla_cosim为False,其可以出现展示的结果,但终端仍然是下图这样, 如果simulator与API 版本不一致,如何解决?
It seems that you weren't successful in switching maps on the second terminal. This might be due to a mismatch between your simulator version and your API version.
我执行第二个终端时,map切换成功了
When you set carla_cosim=False, there is actually no connection with CARLA, so it can run correctly. For version selection between the simulator and API, please refer to the official CARLA documentation.
当我设置为carla_cosim为False,其可以出现展示的结果,但终端仍然是下图这样, 如果simulator与API 版本不一致,如何解决?
Actually, this is indeed the correct output.
这个是我的版本: WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API WARNING: Client API version = 0.9.15 WARNING: Simulator API version = 0.9.15-228-geeb507e58
这个是carla官网的问题和答案:
carla官网是将client版本提升至0.9.15,而0.9.15-228-geeb507e58 是不可更改的。如果方便,您可以提供一下您的Client API version和Simulator API version 吗?
In the your_carla_path/PythonAPI/carla/dist
folder, there are compiled files for the CARLA API. You can try installing them.
In the
your_carla_path/PythonAPI/carla/dist
folder, there are compiled files for the CARLA API. You can try installing them
我尝试了,没有任何改变,我觉着这是实现这个功能。Client API version = 0.9.15,而我本身就是这样的
Based on the information you provided, we cannot pinpoint the specific issue. Perhaps you could try LimSim++, as it is easier to implement co-simulation.
Based on the information you provided, we cannot pinpoint the specific issue. Perhaps you could try LimSim++, as it is easier to implement co-simulation.
ok,thank you!
Based on the information you provided, we cannot pinpoint the specific issue. Perhaps you could try LimSim++, as it is easier to implement co-simulation.
抱歉,我目前遇到两种carla版本,一种是网页版,带有./CarlaUE4.sh文件;另一种是git clone https://github.com/carla-simulator/carla,不带./CarlaUE4.sh;我按照操作感觉应该是第一种,但是我在carla官网报错的解决方案都是第二种的解决方案 如果方便,麻烦给个联系方式,我好跟您请教一下,确实刚接触这个方向!
执行如下指令无反应
(lim) hxx@hxx-System-Product-Name:/workspace/SIM/test/LimSim$ python ./ModelExample.py Model initialized at 18:17:59.793. Network building finished at 18:18:02.059. Retrying in 1 seconds Network information commited at 18:18:02.113.