-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from NVIDIA-ISAAC-ROS/release-3.0
Isaac ROS 3.0.0
- Loading branch information
Showing
69 changed files
with
2,476 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES | ||
# Copyright (c) 2023-2024 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. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
cmake_minimum_required(VERSION 3.22.1) | ||
project(gxf_isaac_detectnet LANGUAGES C CXX) | ||
|
||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
add_compile_options(-fPIC -w) | ||
endif() | ||
|
||
find_package(ament_cmake_auto REQUIRED) | ||
ament_auto_find_build_dependencies() | ||
|
||
# Dependencies | ||
find_package(Eigen3 3.3 REQUIRED NO_MODULE) | ||
find_package(isaac_ros_nitros_detection2_d_array_type REQUIRED) | ||
find_package(yaml-cpp) | ||
|
||
# DetectNet extension | ||
ament_auto_add_library(${PROJECT_NAME} SHARED | ||
gxf/detectnet/detectnet.cpp | ||
gxf/detectnet/detectnet_decoder.cpp | ||
gxf/deepstream_utils/nvdsinferutils/dbscan/nvdsinfer_dbscan.cpp | ||
gxf/deepstream_utils/nvdsinferutils/dbscan/nvdsinfer_dbscan.hpp | ||
gxf/deepstream_utils/nvdsinferutils/dbscan/EigenDefs.hpp | ||
) | ||
|
||
target_include_directories(${PROJECT_NAME} PRIVATE | ||
${CMAKE_CURRENT_SOURCE_DIR}/gxf | ||
${isaac_ros_nitros_detection2_d_array_type_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/gxf/deepstream_utils/include | ||
${CMAKE_CURRENT_SOURCE_DIR}/gxf/deepstream_utils/nvdsinfer/include | ||
${CMAKE_CURRENT_SOURCE_DIR}/gxf/deepstream_utils/nvdsinferutils/include | ||
${CMAKE_CURRENT_SOURCE_DIR}/gxf/deepstream_utils/nvdsinferutils/dbscan | ||
) | ||
|
||
target_link_libraries(${PROJECT_NAME} | ||
Eigen3::Eigen | ||
${isaac_ros_nitros_detection2_d_array_type_LIBRARIES} | ||
yaml-cpp | ||
) | ||
|
||
set_target_properties(${PROJECT_NAME} PROPERTIES | ||
BUILD_WITH_INSTALL_RPATH TRUE | ||
BUILD_RPATH_USE_ORIGIN TRUE | ||
INSTALL_RPATH_USE_LINK_PATH TRUE | ||
) | ||
|
||
# Install the binary file | ||
install(TARGETS ${PROJECT_NAME} DESTINATION share/${PROJECT_NAME}/gxf/lib) | ||
|
||
ament_auto_package(INSTALL_TO_SHARE) |
2 changes: 1 addition & 1 deletion
2
...deepstream_utils/include/nvds_transform.h → ...deepstream_utils/include/nvds_transform.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tream_utils/nvdsinfer/include/nvdsinfer.h → ...tream_utils/nvdsinfer/include/nvdsinfer.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ils/nvdsinfer/include/nvdsinfer_context.h → ...ils/nvdsinfer/include/nvdsinfer_context.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nvdsinfer/include/nvdsinfer_custom_impl.h → ...nvdsinfer/include/nvdsinfer_custom_impl.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...utils/nvdsinferutils/dbscan/EigenDefs.hpp → ...utils/nvdsinferutils/dbscan/EigenDefs.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...vdsinferutils/dbscan/nvdsinfer_dbscan.cpp → ...vdsinferutils/dbscan/nvdsinfer_dbscan.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...vdsinferutils/dbscan/nvdsinfer_dbscan.hpp → ...vdsinferutils/dbscan/nvdsinfer_dbscan.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nvdsinferutils/include/nvdsinfer_dbscan.h → ...nvdsinferutils/include/nvdsinfer_dbscan.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ls/nvdsinferutils/include/nvdsinfer_tlt.h → ...ls/nvdsinferutils/include/nvdsinfer_tlt.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../nvdsinferutils/include/nvdsinfer_utils.h → .../nvdsinferutils/include/nvdsinfer_utils.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ros_detectnet/gxf/detectnet/detectnet.cpp → ...aac_detectnet/gxf/detectnet/detectnet.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0"?> | ||
|
||
<!-- | ||
SPDX-FileCopyrightText: Copyright (c) 2024 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. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
|
||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>gxf_isaac_detectnet</name> | ||
<version>3.0.0</version> | ||
<description>Detectnet GXF extension.</description> | ||
|
||
<maintainer email="[email protected]">Isaac ROS Maintainers</maintainer> | ||
<license>Apache-2.0</license> | ||
<url type="website">https://developer.nvidia.com/isaac-ros-gems/</url> | ||
<author>CY Chen</author> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
|
||
<depend>isaac_ros_common</depend> | ||
<depend>isaac_ros_gxf</depend> | ||
<depend>isaac_ros_nitros_detection2_d_array_type</depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
<test_depend>ament_lint_common</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
Oops, something went wrong.