Cannot switch the type of car
Closed this issue · 1 comments
I switched the car type from car1-trb1 to pw-306wrc in the configuration file, but after starting the game, I found that the car type did not change. I carefully checked the car name in torcs/configs/drivers/scr_server/scr_server.xml. I am sure I have successfully modified the content of the xml file. After that, I also checked the mapped xml file in the docker container. The content has also been successfully modified. I don't know where the problem is. Can you help me?
I have solved this issue. The reason for this problem was that the root user and non-root user were using different configuration paths when starting the TORCS platform. The solution was to delete the contents of the ~/.torcs folder in the Docker container.