connets / tod-carla

MIT License
4 stars 1 forks source link

Docker compose runtime error #2

Open Anuj1166 opened 1 year ago

Anuj1166 commented 1 year ago

Hi Valerio,

Thanks for making your repositories open-source. It will be very useful for several researchers to work on. I have faced an error while running the docker-compose files for both "on-board" and "remote" profiles.

I didn't change any scripts written by you. Initially, tried to replicate the results that you carried out and then plan to enhance them.

My Nvidia driver details is as follows: NVIDIA-SMI 535.86.05, Driver version: 535.86.05, CUDA version: 12.2, Docker Version-24.0.5, Docker-compose version: 1.29.2, docker-py version, CPython version: 3.10.12, openSSL version: 3.0.3, Ubuntu- 22.04.

I have attached the screenshots of both errors. Could you please assist with this error?

Looking forward to your reply.

Appreciate your support. Thank You.

Screenshot from 2023-08-07 15-30-13 Screenshot from 2023-08-07 15-31-25

jaivra commented 1 year ago

Hello Anuj,

I apologize for the delayed response. I have had the time to investigate your issue. The run with the on-board driver profile ends successfully. You see, "tod-carla-simulator" is "killed" because, for each run, "tod-simulator" restarts the CARLA server to avoid well-known bugs that arise from running the CARLA server for an extended period.

I will remove those and the other warnings from the CARLA image.

Please see the simulation results inside the "result" folder. There is a file called "SIMULATION_STATUS," which contains the final state of that run. It would indicate "SUCCESS" or "FAILURE." This file is produced at the end of a simulation.

Regarding the other profile, "remote-driver," you are correct. There was a bug, but it was inside CARLANeTpp, which is contained in CARLANeT, an open-source library that allows cosimulation between CARLA and OMNeT++. I suggest you take a look if you intend to create a service defining a co-simulation environment between CARLA and OMNeT++, which is not strictly related to Tele-Operated Driving. I have fixed that bug, and now the compose should build correctly. Note that the error you encountered was related to tod-simulator compose, specifically to tod-omnet and not tod-carla.

Inside the "results" folder, you will find a .sca file containing the OMNeT++ data. You can find documentation on how to read it on the official OMNeT++ manual. There are also results regarding CARLA in a CSV file, which contains data about the car, including speed, location, etc. Please note that the position must be interpreted according to the CARLA axes. More information can be found here.

We are actively working on the documentation to explain how to interpret these results, but they should not be too difficult to understand. If you wish to extend the documentation to include explanations of CARLA results, I would be happy to integrate your contributions. "Help will always be given at Hogwarts to those who deserve it."

Best regards, Valerio

Anuj1166 commented 1 year ago

Hi Valerio,

Thanks for your reply and detailed information on the simulator framework. I will try to run the files and update you.

Appreciate your support.