Subject: Co-simulation possibilities:
After numerous trials of installing the two key simulators for our research. There are still some problems appearing on both LINUX and Windows OS. As a result, the Co-simulation goal is still undergoing, but we will update it ASAP. Below are some of the problems we encountered and fixed.
CARLA:
We firstly looked into the LINUX since the official website suggested (Though the official website does not say that directly, they do claim that the Windows version is not stable). However, during the installation, plenty of issues occurred such that we eventually considered Windows as the based OS for our research. Sadly, there are some problems we have with the Windows version of CARLA as well.
On Linux:
At the beginning, we used WSL as an intermediate to run LINUX on Windows, but it appears that CARLA is not compatible with WSL, so we shift to a pure LINUX system.
Though we changed the OS, new problems occurred. After solving some, we encounter the most frustrating one. Our laptop doesn't have the Nvidia graphic card and appears to be not working for the project since OpenGL is not supported by the CARLA 0.9.15. Our new pure Linux is under testing and some of the 'nvidia-smi' problems occur for the driver not found issue.
Things are better on the Windows side. We actually are able to solve almost every problem.
Through reinstalling the Windows11 SDK, we fix the loss of ‘rc.exe’ file.
This is an encoding issue with the source file shell.c. We save shell.c in UTF-8 encoding and then forcing MCVS to parse the .c source file using UTF-8 encoding in the CMakeLists solved the problem.
When it comes to the problems unsolved, we encounter the most realistic one, which is not having enough space for Unreal Engine 5. It requires in total (with CARLA and UE5) 200+ gigabytes. Now, we are considering changing the Unreal engine to UE4 because, for our purpose, the graphics might not be a huge factor towards our goal. We will soon solve this with another computer and will update ASAP.
EDIT (20:16, 21TH, Feb 2025):
After the 5th reinstallation of the OS. We successfully run CARLA in UE4 with LINUX.
Though we don’t have much time to test right now, we will soon update some test demos.