carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.06k stars 3.56k forks source link

co-simulation of carsim and carla #6622

Open kuangzh123 opened 1 year ago

kuangzh123 commented 1 year ago

Hi everyone, I'm trying to do a co-simulation between Carla and CarSim:

Linux verision: Ubuntu 18.04 CARLA version: carla 0.9.13 CarSim version: all versions,including CarSim2021.0 VehicleSim Dynamics Plugin versions: CarSim_UE4.26_Plugin_v2021.0.0 the problem i have experienced: Run the manual_control_carsim.py script and use the enable_carsim function to link to the configured simfile.sim file. When I press ctrl key and K key to activate the dynamics of carsim at the same time, the car in carla will not move. Although the throttle and brake are controlled by the keyboard, the speed, throttle, brake and other information will be displayed in carla, but the car will not move in carla animation, and there are relevant calculation outputs in the results folder of carsim. Looks like carsim and carla are having trouble interacting; When I activate carsim dynamics repeatedly, carla will report an error: unable to integrate. If you use carla 0.9.14, you don't have this problem.

Can anyone help me with this?

Thanks,

Pt0lemaeus commented 10 months ago

mailto:t.xm@foxmail.com give me the plugin file and sim file I will try