carla
carla copied to clipboard
CarSim manual control example not working
I am unable to use CarSim plugin example in CARLA as per instructions in the documentation. The following information should help reproduce the issue.
CARLA version: 0.9.13 Platform/OS: Windows 10 Problem you have experienced: manual_control_carsim.py does not use CarSim vehicle model physics What you expected to happen: CARLA to use CarSim model for physics - but it does not.
Steps to reproduce:
- Download latest version of CARLA and install to C:\CARLA
- CarSim program installed to C:\CarSim2021p1_prog. Open program and export UE4 example (Run Control dataset -> External Control, Wrapper -> Unreal Engine 4 Plug-in, Lead Vehicle) to C:\CarSim2021p1_data\ue4simfile.sim
- Start CarSim GUI or license server using
C:\CarSim2021p1\Programs\cs-lm-cli.exe
to acquire solver license. - Download CarSim UE4 plugin v2021.1 r166435 from MSC website and unzip the contents to C:\CARLA\CarlaUE4\Plugins\CarSim
- Start CARLA server using
cd C:\CARLA && CarlaUE4.exe -windowed -carla-server -carla-no-networking -quality-level=Low
- Modify line 419 in
manual_control_carsim.py
to:
world.player.enable_carsim("C:/CarSim2021p1_data/ue4simfile.sim")
- Start CarSim example provided with CARLA installation using
cd C:\apps\CARLA\PythonAPI\examples && python manual_control_carsim.py
- The pygame console starts - and I can control the vehicle. Press
k
to switch to CarSim solver as per python code (line 419). However, I think CarSim solver is never used, as the solver output and log files are not being written to the CarSim results folder for this testrun (C:\CarSim2021p1_data\Results\Run_dd7a828d-4b14-4c77-9d09-1974401d6b25
)
Do I need to compile CARLA from source on my computer to be able to run the CarSim example? This is not clearly mentioned in the documentation. If re-compilation is not needed, it would be helpful if the steps to install the CarSim plugin into CARLA installation are clearly explained.
Hello, I have same problem, too.
When I print the output of world.player.enable_carsim("C:/CarSim2021p1_data/ue4simfile.sim") after modifying the line 419 in 'manual_control_carsim.py', the output is Nonetype.
Can you solve that problem??
Hello, I had a similar experiance of crash in carsim plugin using carla 0.9.13 compiled from source and CarSim_UE4.26_Plugin_v2021.0.0_2020-12-14_r153946.zip with the sim file provided at VehicleSim_Plugin-Example-4.26_Project-r154045.zip I could see carla output saying loading library and immediately saying releasing library :
Loading simfile: .../ue4simfile.sim Loading library: /tmp/VSSuxK9E7 Releasing library
Did anyone have a working experiance of carla + carsim on ubuntu 18.04?
hi, i'm using Linux version of both and Carsim not working either. On your procedure 8, you mentioned pressed k, did you try to press CTRL + k? Because in the script it says "event.key == K_k and (pygame.key.get_mods() & KMOD_CTRL)"
The problem has been solved??I have the same problem.
Hi, are you able to solve this issue ? I am also having this problem and could not figure out, how to deal with it. If you have any progress on it, could you please share some information.
No progress was made
On Mon, 19 Dec 2022 at 15:47 sushil-bhatta @.***> wrote:
Hi @crabiner https://github.com/crabiner, are you able to solve this issue ? I am also having this problem and could not figure out, how to deal with it. If you have any progress on it, could you please share some information.
— Reply to this email directly, view it on GitHub https://github.com/carla-simulator/carla/issues/4963#issuecomment-1357699380, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYVYMPUCN7TFBRYTLXCKNDWOBRP3ANCNFSM5J3E4E4Q . You are receiving this because you were mentioned.Message ID: @.***>
same problem, and unable to solve this issue, by far.
could someone send me the plugin file and sim file?[email protected] I want to have a try