I have noticed that moving vehicles using
SetTransfrom is not a blocking call. For data collection, this is a slight problem because one would assume the car is where it was set to be. Right now I poll the position after using
SetTransform, but even that is not enough. After the transform returned by
GetTransform matches the intended pose, I have to wait an additional 10ms. Only then do the sensor readings match the pose. I have tried synchronous mode but that also didn’t help. I had to use
Tick() twice + an additional delay to get the correct sensor output.
I use the C++ API but I assume this is also the case for python, maybe even slightly worse because of the additional abstraction layer. Is there any way of doing this faster?
Thanks in advance.