Wheels seem to move with _at least_ a one frame delay after the car body, as shown below :

During acceleration, _the shift is even more important_ :

When the car first starts, its wheels are at the back of the body.
If the car accelerates, the wheels start lagging behind the body.
And when the car stops, the wheels eventually catch up after a few frames.
I'm running on carla 0.9.8, in synchronous mode at 10 fps.
LiDAR attributes are :
lidar_attributes = {
"channels": 128,
"range": 75, # In carla 0.9.7 This is meters !!!!
"points_per_second": 4800000, # 100000
"rotation_frequency": 20,
"upper_fov": 15.0,
"lower_fov": -25.0,
"sensor_tick": 0.0,
}
# The position of the LiDAR sensor in the host vehicle reference frame is
x=0, y=0, z=2.5
My guess is that the wheels collision boxes and the body collision box aren't updated at the same time, but that's anyone's guess
Hi @a-boinet
Thanks for your feedback, we will look into that, this could be caused because of how UE4 handles the ray cast. Maybe using different flags for ray casting could solve it. It is UE 4.22 right?
Hi @marcgpuig
Thanks for your reply. It is UE 4.22 indeed.
I'll test this on CARLA 0.9.9 asap to see if it makes any difference.
It looks _exactly_ the same on CARLA 0.9.9 (UE 4.24) :

@a-boinet Thanks for your quick testing.
This has been also commented in #1670 and may be slightly related to #423.
We need to investigate why the wheels are behind the car collision box, whether it's how the physics engine tick works or if we can really do something about it. This search could also be extended to find a suitable ray cast emission that can correctly detect UE4's SkeletalMeshe and not just the car's bounding box, so it can detect the shape of the car correctly.
We definitely need to find some time to address it.
This could also be happening with the radar sensor as it uses the same physics parameters, but I haven't tested it yet.
Hi @a-boinet sorry for the late update.
We're improving the vehicle collision meshes and now looks way better, with these changes this wheel problem should be fixed too!


Looks great! Thanks for the update, I'm looking forward to testing this
Hi @a-boinet sorry for the late update.
We're improving the vehicle collision meshes and now looks way better, with these changes this wheel problem should be fixed too!
I had this issue too. If in the new version lidar-captured cars look like real cars instead of boxes, that would be a big progress. Thank you for the update.