Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Jan 24, 2025
1 parent 50b3966 commit 8dadd11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nanosaur/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"):
Expand Down

0 comments on commit 8dadd11

Please sign in to comment.