Skip to content

Commit dd280f4

Browse files
Merge pull request #224 from NVIDIA-ISAAC-ROS/release-4.0
Release 4.0
2 parents 68d8358 + e1119d8 commit dd280f4

File tree

6 files changed

+125
-3
lines changed

6 files changed

+125
-3
lines changed

isaac_ros_common/cmake/isaac_ros_common-extras-assets.cmake

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@ function(install_isaac_ros_asset TARGET_NAME)
5050

5151
# Register the install script as an ament resource such that it can
5252
# be retrieved by other packages.
53-
message(STATUS "Registering ament resource: ${INSTALL_SCRIPT} as ${TARGET_NAME}")
54-
ament_index_register_resource("${TARGET_NAME}" CONTENT "${INSTALL_SCRIPT}")
53+
# Use the path where the script will live in the installed layout so that
54+
# consumers on the target system can discover and execute it.
55+
set(INSTALL_SCRIPT_INSTALLED "${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME}/${TARGET_NAME}.sh")
56+
message(STATUS "Registering ament resource: ${INSTALL_SCRIPT_INSTALLED} as ${TARGET_NAME}")
57+
ament_index_register_resource("${TARGET_NAME}" CONTENT "${INSTALL_SCRIPT_INSTALLED}")
5558

5659
endfunction()
5760

isaac_ros_common/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ license agreement from NVIDIA CORPORATION is strictly prohibited.
1313
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
1414
<package format="3">
1515
<name>isaac_ros_common</name>
16-
<version>4.0.0</version>
16+
<version>4.0.1</version>
1717
<description>Utilities for performing common functions in Isaac ROS packages</description>
1818

1919
<maintainer email="isaac-ros-maintainers@nvidia.com">Isaac ROS Maintainers</maintainer>
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
2+
# Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
# SPDX-License-Identifier: Apache-2.0
17+
18+
cmake_minimum_required(VERSION 3.22.1)
19+
project(isaac_ros_nova_interfaces LANGUAGES C CXX)
20+
21+
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
22+
add_compile_options(-Wall -Wextra -Wpedantic)
23+
endif()
24+
25+
# The FindPythonInterp and FindPythonLibs modules are removed
26+
if(POLICY CMP0148)
27+
cmake_policy(SET CMP0148 OLD)
28+
endif()
29+
30+
find_package(ament_cmake_auto REQUIRED)
31+
ament_auto_find_build_dependencies()
32+
33+
# Prepare custom interfaces
34+
find_package(rosidl_default_generators REQUIRED)
35+
rosidl_generate_interfaces(${PROJECT_NAME}
36+
msg/CorrelatedTimestamp.msg
37+
msg/EncoderTicks.msg
38+
DEPENDENCIES std_msgs
39+
)
40+
ament_export_dependencies(rosidl_default_runtime)
41+
42+
if(BUILD_TESTING)
43+
find_package(ament_lint_auto REQUIRED)
44+
ament_lint_auto_find_test_dependencies()
45+
endif()
46+
47+
48+
# Embed versioning information into installed files
49+
ament_index_get_resource(ISAAC_ROS_COMMON_CMAKE_PATH isaac_ros_common_cmake_path isaac_ros_common)
50+
include("${ISAAC_ROS_COMMON_CMAKE_PATH}/isaac_ros_common-version-info.cmake")
51+
generate_version_info(${PROJECT_NAME})
52+
53+
ament_auto_package()
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Correlated timestamp
2+
# Nova has three seperate clocks that we must keep track of, the PTP hardware clock (PHC), the
3+
# Timer's System Counter (TSC), and the system clock mainatined by the kernel (sys).
4+
# This struct contains two pairs of correlated timestamps, phc_val_ anc tsc_val are taken
5+
# simultanously, and phc2_val and sys_val_ are taken simultanously.
6+
# phc and tsc are captured at the same time
7+
8+
std_msgs/Header header
9+
10+
uint64 phc_val # PTP Hardware Clock (PHC)
11+
uint64 tsc_val # Timer's System Counter (TSC)
12+
13+
# phc2 and tsc are captures at the same time.
14+
uint64 phc2_val # PTP Hardware Clock (PHC), same clock as phc_val_ above, but taken at a
15+
# different time
16+
uint64 sys_val # System Clock (Sys)
17+
18+
# Deprecated, previously used for sanity checking output from NVPPS, but we no longer use NVPPS
19+
uint64 phc_latency
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Encoder Ticks
2+
3+
std_msgs/Header header
4+
5+
uint32 left_ticks # Ticks from the left wheel
6+
uint32 right_ticks # Ticks from the right wheel
7+
uint64 encoder_timestamp # Timestamp from the encoder
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0"?>
2+
3+
<!--
4+
Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved.
5+
6+
NVIDIA CORPORATION and its licensors retain all intellectual property
7+
and proprietary rights in and to this software, related documentation
8+
and any modifications thereto. Any use, reproduction, disclosure or
9+
distribution of this software and related documentation without an express
10+
license agreement from NVIDIA CORPORATION is strictly prohibited.
11+
-->
12+
13+
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
14+
<package format="3">
15+
<name>isaac_ros_nova_interfaces</name>
16+
<version>4.0.1</version>
17+
<description>Interfaces for Isaac ROS Nova</description>
18+
19+
<maintainer email="isaac-ros-maintainers@nvidia.com">Isaac ROS Maintainers</maintainer>
20+
<license>NVIDIA Isaac ROS Software License</license>
21+
<url type="website">https://developer.nvidia.com/isaac-ros-gems/</url>
22+
<author>Ashwin Varghese Kuruttukulam</author>
23+
24+
<exec_depend>rosidl_default_runtime</exec_depend>
25+
26+
<depend>std_msgs</depend>
27+
28+
<buildtool_depend>ament_cmake_auto</buildtool_depend>
29+
<build_depend>rosidl_default_generators</build_depend>
30+
<build_depend>isaac_ros_common</build_depend>
31+
32+
<test_depend>ament_lint_auto</test_depend>
33+
<test_depend>ament_lint_common</test_depend>
34+
35+
<member_of_group>rosidl_interface_packages</member_of_group>
36+
37+
<export>
38+
<build_type>ament_cmake</build_type>
39+
</export>
40+
</package>

0 commit comments

Comments
 (0)