Updated requirements.txt with Pillow

This commit is contained in:
Marc Garcia Puig 2020-10-15 15:58:04 +02:00
parent 4c4b5a6a9e
commit 6d20f7d374
3 changed files with 5 additions and 2 deletions

View File

@ -4,3 +4,4 @@ numpy==1.18.4; python_version >= '3.0'
pygame
matplotlib
open3d
Pillow

View File

@ -61,6 +61,7 @@ class TestSynchronousMode(SyncSmokeTest):
def test_sensor_transform_on_synchronous_mode(self):
print("TestSynchronousMode.test_sensor_transform_on_synchronous_mode")
print("--- ", self.world.get_map())
bp_lib = self.world.get_blueprint_library()
spawn_points = self.world.get_map().get_spawn_points()
@ -82,7 +83,8 @@ class TestSynchronousMode(SyncSmokeTest):
trans = carla.Transform(carla.Location(x=1.6, z=1.7))
sensors = [self.world.spawn_actor(sensor, trans, car) for sensor in sensor_bps]
queues = [Queue()] * len(sensor_bps)
car.set_autopilot(True)
car.apply_control(carla.VehicleControl(0.75))
# car.set_autopilot(True)
def sensor_callback(data, name, queue):
queue.put((data, name))