Skip to content

Commit

Permalink
Merge pull request #21 from NVIDIA-ISAAC-ROS/release-2.0.0
Browse files Browse the repository at this point in the history
Isaac ROS 2.0.0
  • Loading branch information
jaiveersinghNV authored Oct 19, 2023
2 parents 119ac00 + 61bf373 commit ed3d677
Show file tree
Hide file tree
Showing 23 changed files with 279 additions and 475 deletions.
320 changes: 42 additions & 278 deletions README.md

Large diffs are not rendered by default.

64 changes: 0 additions & 64 deletions docs/tutorial-isaac-sim.md

This file was deleted.

66 changes: 0 additions & 66 deletions docs/tutorial-nitros-graph.md

This file was deleted.

10 changes: 8 additions & 2 deletions isaac_ros_unet/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2021-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,7 +15,7 @@
#
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.23.2)
cmake_minimum_required(VERSION 3.22.1)
project(isaac_ros_unet LANGUAGES C CXX)

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
Expand Down Expand Up @@ -45,6 +45,12 @@ if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()


# The FindPythonInterp and FindPythonLibs modules are removed
if(POLICY CMP0148)
cmake_policy(SET CMP0148 OLD)
endif()

find_package(launch_testing_ament_cmake REQUIRED)
add_launch_test(test/isaac_ros_unet_pol_test.py TIMEOUT "400")
endif()
Expand Down
2 changes: 1 addition & 1 deletion isaac_ros_unet/gxf/image_segmentation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ find_package(GXF ${ISAAC_ROS_GXF_VERSION} MODULE REQUIRED
serialization
std
)
include(YamlCpp)
find_package(yaml-cpp)

# Create extension
add_library(gxf_segmentation_postprocessor SHARED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
// Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// Copyright (c) 2021-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
6 changes: 4 additions & 2 deletions isaac_ros_unet/launch/isaac_ros_argus_unet_triton.launch.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -141,9 +141,11 @@ def generate_launch_description():
# Parameters preconfigured for PeopleSemSegNet.
encoder_node = ComposableNode(
name='dnn_image_encoder',
package='isaac_ros_dnn_encoders',
package='isaac_ros_dnn_image_encoder',
plugin='nvidia::isaac_ros::dnn_inference::DnnImageEncoderNode',
parameters=[{
'input_image_width': 1920,
'input_image_height': 1200,
'network_image_width': network_image_width,
'network_image_height': network_image_height,
'image_mean': encoder_image_mean,
Expand Down
16 changes: 14 additions & 2 deletions isaac_ros_unet/launch/isaac_ros_unet_tensor_rt.launch.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2021-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -25,6 +25,14 @@
def generate_launch_description():
"""Launch the DNN Image encoder, TensorRT node and UNet decoder node."""
launch_args = [
DeclareLaunchArgument(
'input_image_width',
default_value='1920',
description='The input image width'),
DeclareLaunchArgument(
'input_image_height',
default_value='1080',
description='The input image height'),
DeclareLaunchArgument(
'network_image_width',
default_value='960',
Expand Down Expand Up @@ -100,6 +108,8 @@ def generate_launch_description():
]

# DNN Image Encoder parameters
input_image_width = LaunchConfiguration('input_image_width')
input_image_height = LaunchConfiguration('input_image_height')
network_image_width = LaunchConfiguration('network_image_width')
network_image_height = LaunchConfiguration('network_image_height')
encoder_image_mean = LaunchConfiguration('encoder_image_mean')
Expand All @@ -126,9 +136,11 @@ def generate_launch_description():
# Parameters preconfigured for PeopleSemSegNet.
encoder_node = ComposableNode(
name='dnn_image_encoder',
package='isaac_ros_dnn_encoders',
package='isaac_ros_dnn_image_encoder',
plugin='nvidia::isaac_ros::dnn_inference::DnnImageEncoderNode',
parameters=[{
'input_image_width': input_image_width,
'input_image_height': input_image_height,
'network_image_width': network_image_width,
'network_image_height': network_image_height,
'image_mean': encoder_image_mean,
Expand Down
16 changes: 14 additions & 2 deletions isaac_ros_unet/launch/isaac_ros_unet_triton.launch.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2021-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -25,6 +25,14 @@
def generate_launch_description():
"""Launch the DNN Image encoder, Triton node and UNet decoder node."""
launch_args = [
DeclareLaunchArgument(
'input_image_width',
default_value='1920',
description='The input image width'),
DeclareLaunchArgument(
'input_image_height',
default_value='1080',
description='The input image height'),
DeclareLaunchArgument(
'network_image_width',
default_value='960',
Expand Down Expand Up @@ -96,6 +104,8 @@ def generate_launch_description():
]

# DNN Image Encoder parameters
input_image_width = LaunchConfiguration('input_image_width')
input_image_height = LaunchConfiguration('input_image_height')
network_image_width = LaunchConfiguration('network_image_width')
network_image_height = LaunchConfiguration('network_image_height')
encoder_image_mean = LaunchConfiguration('encoder_image_mean')
Expand All @@ -121,9 +131,11 @@ def generate_launch_description():
# Parameters preconfigured for PeopleSemSegNet.
encoder_node = ComposableNode(
name='dnn_image_encoder',
package='isaac_ros_dnn_encoders',
package='isaac_ros_dnn_image_encoder',
plugin='nvidia::isaac_ros::dnn_inference::DnnImageEncoderNode',
parameters=[{
'input_image_width': input_image_width,
'input_image_height': input_image_height,
'network_image_width': network_image_width,
'network_image_height': network_image_height,
'image_mean': encoder_image_mean,
Expand Down
Loading

0 comments on commit ed3d677

Please sign in to comment.