Merge branch 'master' into 0.9-win32
This commit is contained in:
commit
e7291e2ce4
|
@ -38,7 +38,7 @@
|
|||
namespace boost {
|
||||
|
||||
static inline void throw_exception(const std::exception &e) {
|
||||
UE_LOG(LogCarla, Fatal, TEXT("Exception thronw on Boost libraries: %s"), UTF8_TO_TCHAR(e.what()));
|
||||
UE_LOG(LogCarla, Fatal, TEXT("Exception thrown on Boost libraries: %s"), UTF8_TO_TCHAR(e.what()));
|
||||
}
|
||||
|
||||
} // namespace boost
|
||||
|
|
|
@ -48,9 +48,9 @@ def main(add_a_camera, enable_autopilot):
|
|||
|
||||
world = client.get_world()
|
||||
|
||||
blueprint_library = world.get_blueprint_library();
|
||||
blueprint_library = world.get_blueprint_library()
|
||||
|
||||
vehicle_blueprints = blueprint_library.filter('vehicle');
|
||||
vehicle_blueprints = blueprint_library.filter('vehicle')
|
||||
|
||||
|
||||
actor_list = []
|
||||
|
|
|
@ -93,7 +93,7 @@ class CarlaGame(object):
|
|||
cam_blueprint = world.get_blueprint_library().find('sensor.camera')
|
||||
self._camera = world.spawn_actor(cam_blueprint, CAMERA_POSITION, attach_to=self._vehicle)
|
||||
|
||||
self._camera.listen(lambda image: self._parse_image(image))
|
||||
self._camera.listen(self._parse_image)
|
||||
|
||||
while True:
|
||||
for event in pygame.event.get():
|
||||
|
|
|
@ -25,7 +25,7 @@ def main():
|
|||
client = carla.Client('localhost', 2000)
|
||||
world = client.get_world()
|
||||
spectator = world.get_spectator()
|
||||
vehicle_blueprints = world.get_blueprint_library().filter('vehicle');
|
||||
vehicle_blueprints = world.get_blueprint_library().filter('vehicle')
|
||||
|
||||
for blueprint in vehicle_blueprints:
|
||||
transform = carla.Transform(LOCATION, carla.Rotation(yaw=-45.0))
|
||||
|
|
Loading…
Reference in New Issue