![]() That may help you make a guess on the travelling time depending on the distance. Regarding the time, the speed parameter of the controller is in m/s if I remember correctly. You can compute the direction using the walker's location and the next point. I would suggest you store the path as a list of key locations, and use carla.WalkerControl to move the walkers towards them. The Home page of the docs contains links for both the Linux and the Windows build. In order to do that, you should work with a CARLA build from source. The code is not available, nor can it be modified there. I suppose that you are working with a CARLA package. ![]() Both are detailed in the Python API reference. The spawn location can be changed to whichever location in the world.Īpplying the controller simply requires the usage of carla.WalkerControl and optionall, carla.WalkerBoneControl (to animate it). Walkers are actors, and they can be spawned as any other. Regarding pedestrians: You can spawn pedestrians anywhere you like, and apply controllers to move them in a certian direction, and with a certain speed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |