How to read the vehicle CG coordinates from external file and change the vehicle coordinates accordingly in a simulation?


This Content is from Stack Overflow. Question asked by Himanshu Verma

I want to run a simulation in carla environment, but instead of manual control or automatic control, I want to change the degree of freedom at vehicle CG at each time stamp based on the data read from an external file. I can use ‘get_transform’ to get a vehicle’s CG coordinates but I want to modify them at each world.tick(). How can I do that?


This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?