camera_spawn_pointTop = carla.Transform( carla.Location(x=0.0, y=0.0, z=5.0), # 5 meters above the car carla.Rotation(pitch=-90.0) # Looking straight down ) cameraTop = world.spawn_actor(camera_bp1, camera_spawn_pointTop, attach_to=vehicle) camera_spawn_pointFront = carla.Transform( carla.Location(x=-5.0, y=0.0, z=3.0), # 5 meters in front and 3 meters high carla.Rotation(pitch=-15.0) # Slight downward tilt ) cameraFront = world.spawn_actor(camera_bp2, camera_spawn_pointFront, attach_to=vehicle)