carla-simulator / carla

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

The car keeps shaking back and forth when co-sim with carla #8182

Open Sephiroth1118 opened 2 months ago

Sephiroth1118 commented 2 months ago

CARLA version: carla-dev build from source Platform/OS: Ubuntu 22.04 Problem you have experienced: I'm using the sumo carla co-sim in another repo. It is controlling vehicles in sumo and then use carla for 3D visualization. I tried the example given, which is a demo in carla Town05, everything works well. But when I used the net.xml and rou.xml of my own, the vehicle in carla started shaking back and forth, slightly but obvious. It still moved in correct trajectory, just shaking. What you expected to happen: I want to know the possible reason for this problem. I don't think it is an asynchronization problem because it works well for demo net. I tried some ways, such as changing the accel speed of the car, but they do not work. My friend said it could be the problem that the road is too narrow but I'm not sure.

repa1030 commented 2 months ago

Sounds like the issue I had with SUMO: https://github.com/eclipse-sumo/sumo/issues/6867