'No such directory _out' bugfix

This commit is contained in:
Sid1057 2021-08-04 13:30:16 +03:00 committed by DSantosO
parent f90c2c6123
commit 08570d5fe1
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ def tutorial(args):
lidar = None lidar = None
try: try:
os.system('mkdir -p _out' if os.name != 'nt' else 'if not exist _out mkdir _out')
# Search the desired blueprints # Search the desired blueprints
vehicle_bp = bp_lib.filter("vehicle.lincoln.mkz_2017")[0] vehicle_bp = bp_lib.filter("vehicle.lincoln.mkz_2017")[0]
camera_bp = bp_lib.filter("sensor.camera.rgb")[0] camera_bp = bp_lib.filter("sensor.camera.rgb")[0]