From 8dadd1159edb7c73a73c46d112f2299a81809cc2 Mon Sep 17 00:00:00 2001 From: Raffaello Bonghi Date: Fri, 24 Jan 2025 23:30:10 +0000 Subject: [PATCH] Minor fixes --- src/nanosaur/workspace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nanosaur/workspace.py b/src/nanosaur/workspace.py index d2b668b..0c962fa 100644 --- a/src/nanosaur/workspace.py +++ b/src/nanosaur/workspace.py @@ -304,7 +304,7 @@ def deploy_perception(image_name): # Get the release tag name release_tag_name = f"{nanosaur_docker_user}/{NANOSAUR_DOCKER_PACKAGE_PERCEPTION}" # Deploy the perception workspace - if device_type == "robot" or args.all: + if device_type == "robot": # Deploy the perception workspace for each camera cameras = ISAAC_ROS_DOCKER_CAMERA_LIST if args.all or image_name is None else [image_name] for camera in cameras: @@ -313,7 +313,7 @@ def deploy_perception(image_name): # Deploy the perception workspace for each camera if not ros.deploy_docker_isaac_ros(perception_ws_path, tags, f"{release_tag_name}:{camera}"): return False - if device_type == "desktop" or args.all: + if device_type == "desktop": # Deploy the perception workspace for simulation tags = [isaac_ros_distro_name, NANOSAUR_DOCKERFILE_SUFFIX] if not ros.deploy_docker_isaac_ros(perception_ws_path, tags, f"{release_tag_name}:simulation"):