Updated requirements.txt with Pillow
This commit is contained in:
parent
4c4b5a6a9e
commit
6d20f7d374
|
@ -4,3 +4,4 @@ numpy==1.18.4; python_version >= '3.0'
|
||||||
pygame
|
pygame
|
||||||
matplotlib
|
matplotlib
|
||||||
open3d
|
open3d
|
||||||
|
Pillow
|
||||||
|
|
|
@ -61,6 +61,7 @@ class TestSynchronousMode(SyncSmokeTest):
|
||||||
|
|
||||||
def test_sensor_transform_on_synchronous_mode(self):
|
def test_sensor_transform_on_synchronous_mode(self):
|
||||||
print("TestSynchronousMode.test_sensor_transform_on_synchronous_mode")
|
print("TestSynchronousMode.test_sensor_transform_on_synchronous_mode")
|
||||||
|
print("--- ", self.world.get_map())
|
||||||
bp_lib = self.world.get_blueprint_library()
|
bp_lib = self.world.get_blueprint_library()
|
||||||
|
|
||||||
spawn_points = self.world.get_map().get_spawn_points()
|
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))
|
trans = carla.Transform(carla.Location(x=1.6, z=1.7))
|
||||||
sensors = [self.world.spawn_actor(sensor, trans, car) for sensor in sensor_bps]
|
sensors = [self.world.spawn_actor(sensor, trans, car) for sensor in sensor_bps]
|
||||||
queues = [Queue()] * len(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):
|
def sensor_callback(data, name, queue):
|
||||||
queue.put((data, name))
|
queue.put((data, name))
|
||||||
|
|
Loading…
Reference in New Issue