Skip to content

Commit 169cdba

Browse files
Merge pull request #11 from NVIDIA-ISAAC-ROS/release-dp3
Isaac ROS 0.30.0 (DP3)
2 parents ec863b6 + a7cdaab commit 169cdba

File tree

177 files changed

+23042
-1661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+23042
-1661
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Ignore Python files in linguist
2+
*.py linguist-detectable=false
3+
14
# Images
25
*.gif filter=lfs diff=lfs merge=lfs -text
36
*.jpg filter=lfs diff=lfs merge=lfs -text

README.md

Lines changed: 49 additions & 90 deletions
Large diffs are not rendered by default.

docs/tutorial-bi3d-freespace-isaac-sim.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

docs/tutorial-bi3d-freespace-realsense.md

Lines changed: 0 additions & 77 deletions
This file was deleted.

docs/tutorial-bi3d-isaac-sim.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
11
# Tutorial for Bi3D with Isaac Sim
22

3-
<div align="center"><img src="../resources/Rviz.png" width="800px"/></div></br>
3+
<div align="center"><img src="../resources/Rviz.png" width="800px"/></div><br>
44

55
## Overview
66

7-
This tutorial walks through setting up a pipeline to [segment stereo image pairs](https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_proximity_segmentation) generated by Isaac Sim by depth disparity levels. For more details on the output please refer to the [interpreting the output](../README.md#interpreting-the-output) section of the [main readme](../README.md).
7+
This tutorial walks through setting up a graph to [segment stereo image pairs](https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_proximity_segmentation) generated by Isaac Sim by depth disparity levels. For more details on the output please refer to the [interpreting the output](../README.md#interpreting-the-output) section of the [main readme](../README.md).
8+
9+
Last validated with [Isaac Sim 2022.2.1](https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/release_notes.html#id1)
810

911
## Tutorial Walkthrough
1012

1113
1. Complete steps 1-7 listed in the [Quickstart section](../README.md#quickstart) of the main README.
1214
2. Install and launch Isaac Sim following the steps in the [Isaac ROS Isaac Sim Setup Guide](https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common/blob/main/docs/isaac-sim-sil-setup.md)
13-
3. Open the Isaac ROS Common USD scene (using the **Content** window) located at:
15+
3. Open the Isaac ROS Common USD scene (using the *Content* tab) located at:
1416

15-
`omniverse://localhost/NVIDIA/Assets/Isaac/2022.1/Isaac/Samples/ROS2/Scenario/carter_warehouse_apriltags_worker.usd`.
17+
```text
18+
http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/2022.2.1/Isaac/Samples/ROS2/Scenario/carter_warehouse_apriltags_worker.usd
19+
```
1620
1721
And wait for it to load completely.
18-
> **Note:** To use a different server, replace `localhost` with `<your_nucleus_server>`
19-
4. Go to the **Stage** tab and select `/World/Carter_ROS/ROS_Cameras/ros2_create_camera_right_info`. In the **Property** tab, change the **Compute Node -> Inputs -> stereoOffset -> X** value from `0` to `-175.92`.
20-
<div align="center"><img src="../resources/Isaac_sim_set_stereo_offset.png" width="500px"/></div></br>
21-
22-
5. Enable the right camera for a stereo image pair. Go to the **Stage** tab and select `/World/Carter_ROS/ROS_Cameras/enable_camera_right`, then tick the **Condition** checkbox.
23-
<div align="center"><img src="../resources/Isaac_sim_enable_stereo.png" width="500px"/></div></br>
22+
4. Go to the *Stage* tab and select `/World/Carter_ROS/ROS_Cameras/ros2_create_camera_right_info`, then in *Property* tab *-> OmniGraph Node -> Inputs -> stereoOffset X* change `0` to `-175.92`.
23+
<div align="center"><img src="../resources/Isaac_sim_set_stereo_offset.png" width="500px"/></div>
24+
5. Enable the right camera for a stereo image pair. Go to the *Stage* tab and select `/World/Carter_ROS/ROS_Cameras/enable_camera_right`, then tick the *Condition* checkbox.
25+
<div align="center"><img src="../resources/Isaac_sim_enable_stereo.png" width="500px"/></div>
2426
6. Press **Play** to start publishing data from the Isaac Sim application.
25-
<div align="center"><img src="../resources/Isaac_sim_play.png" width="800px"/></div></br>
27+
<div align="center"><img src="../resources/Isaac_sim_play.png" width="800px"/></div>
2628
7. Open a second terminal and attach to the container:
2729
2830
```bash

isaac_ros_bi3d/CMakeLists.txt

Lines changed: 16 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
2-
# Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -15,51 +15,34 @@
1515
#
1616
# SPDX-License-Identifier: Apache-2.0
1717

18-
cmake_minimum_required(VERSION 3.8)
19-
project(isaac_ros_bi3d)
20-
21-
# Default to C++17
22-
if(NOT CMAKE_CXX_STANDARD)
23-
set(CMAKE_CXX_STANDARD 17)
24-
endif()
18+
cmake_minimum_required(VERSION 3.23.2)
19+
project(isaac_ros_bi3d LANGUAGES C CXX)
2520

2621
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
2722
add_compile_options(-Wall -Wextra -Wpedantic)
2823
endif()
2924

30-
# Default to Release build
31-
if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "")
32-
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE)
33-
endif()
34-
35-
message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
36-
37-
execute_process(COMMAND uname -m COMMAND tr -d '\n' OUTPUT_VARIABLE ARCHITECTURE)
38-
message(STATUS "Architecture: ${ARCHITECTURE}")
39-
4025
find_package(ament_cmake_auto REQUIRED)
4126
ament_auto_find_build_dependencies()
4227

43-
# bi3d_node
28+
# Bi3DNode
4429
ament_auto_add_library(bi3d_node SHARED src/bi3d_node.cpp)
45-
target_compile_definitions(bi3d_node
46-
PRIVATE "COMPOSITION_BUILDING_DLL"
47-
)
4830
rclcpp_components_register_nodes(bi3d_node "nvidia::isaac_ros::bi3d::Bi3DNode")
4931
set(node_plugins "${node_plugins}nvidia::isaac_ros::bi3d::Bi3DNode;$<TARGET_FILE:bi3d_node>\n")
5032

51-
# Install config directory
52-
install(
53-
DIRECTORY config
54-
DESTINATION share/${PROJECT_NAME}
55-
)
33+
### Install extensions built from source
34+
35+
# Bi3d
36+
add_subdirectory(gxf/bi3d)
37+
install(TARGETS gxf_cvcore_bi3d DESTINATION share/${PROJECT_NAME}/gxf/lib/bi3d)
38+
39+
# Bi3d postprocessor
40+
add_subdirectory(gxf/bi3d_postprocessor)
41+
install(TARGETS gxf_bi3d_postprocessor DESTINATION share/${PROJECT_NAME}/gxf/lib/bi3d)
5642

57-
set_target_properties(bi3d_node PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE)
58-
install(TARGETS bi3d_node
59-
ARCHIVE DESTINATION lib
60-
LIBRARY DESTINATION lib
61-
RUNTIME DESTINATION bin
62-
)
43+
### End extensions
44+
45+
install(PROGRAMS scripts/isaac_ros_bi3d_visualizer.py DESTINATION lib/${PROJECT_NAME})
6346

6447
if(BUILD_TESTING)
6548
find_package(ament_lint_auto REQUIRED)
@@ -69,9 +52,4 @@ if(BUILD_TESTING)
6952
add_launch_test(test/isaac_ros_bi3d_test.py TIMEOUT "1000")
7053
endif()
7154

72-
install(PROGRAMS
73-
scripts/isaac_ros_bi3d_visualizer.py
74-
DESTINATION lib/${PROJECT_NAME}
75-
)
76-
7755
ament_auto_package(INSTALL_TO_SHARE launch config)

isaac_ros_bi3d/gxf/AMENT_IGNORE

Whitespace-only changes.

0 commit comments

Comments
 (0)