Troubleshooting Broken ROS Packages in ISAAC SIM Workspace Setup

Troubleshooting Broken ROS Packages in ISAAC SIM Workspace Setup
I recently followed the ISAAC SIM Installation Tutorial for ROS and ROS2 on Ubuntu Foxy. I successfully cloned the Isaac Sim ROS Workspace Repository, installed additional packages, ensured that my native ROS2 environment was sourced, and resolved any package dependencies from the root of the ROS2 workspace.
However, I encountered an error during Step 4 when building the workspace using the command colcon build. The error message I received is as follows:

Command:

colcon build

Error:

Starting >>> carter_navigation
Starting >>> custom_message
Starting >>> isaac_ros2_messages
Starting >>> >isaac_ros_navigation_goal
Starting >>> isaac_tutorials
— stderr: >isaac_ros2_messages
CMake Error at CMakeLists.txt:19 (find_package):
By not providing “Findament_cmake.cmake” in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
“ament_cmake”, but CMake did not find one.

Could not find a package configuration file provided by “ament_cmake” with
any of the following names:

ament_cmakeConfig.cmake
ament_cmake-config.cmake

Add the installation prefix of “ament_cmake” to CMAKE_PREFIX_PATH or set
“ament_cmake_DIR” to a directory containing one of the above files. If
“ament_cmake” provides a separate development package or SDK, be sure it
has been installed.


Failed <<< isaac_ros2_messages [0.57s, exited with code 1]
Aborted <<< isaac_ros_navigation_goal [0.53s]
Aborted <<< carter_navigation [0.66s]
Aborted <<< isaac_tutorials [0.47s]
Aborted <<< custom_message [0.61s]>
Summary: 0 packages finished [1.41s]
1 package failed: isaac_ros2_messages
4 packages aborted: carter_navigation custom_message isaac_ros_navigation_goal >isaac_tutorials
4 packages had stderr output: carter_navigation custom_message isaac_ros2_messages >isaac_tutorials

This issue has arisen recently, even though I cloned the repository just a few days ago. I suspect that some packages may be broken or aborted. Could you please provide guidance on resolving this issue? Your help would be greatly appreciated.

Development Environment:
Ubuntu 20.04 running on a desktop

Hi,

I am moving your topic to the Isaac Sim category for better visibility.

Raffaello

has anyone figured this out? I have only installed the workstation and am getting similar error on my first colcon build:

Starting >>> carter_navigation
Starting >>> custom_message
Starting >>> isaac_ros2_messages
Starting >>> isaac_ros_navigation_goal
Starting >>> isaac_tutorials
Finished <<< carter_navigation [0.72s]                                  
--- stderr: isaac_ros_navigation_goal
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< isaac_ros_navigation_goal [0.70s]
Finished <<< isaac_tutorials [0.80s]                               
Finished <<< custom_message [2.66s]                                    
Finished <<< isaac_ros2_messages [2.92s]                     

Summary: 5 packages finished [3.34s]
  1 package had stderr output: isaac_ros_navigation_goal

Hi @ajindal1
From what you posted. It seems like all packages in the workspace have successfully built. The isaac_ros_navigation_goal package is only throwing depreciation warnings which are harmless in this case.

1 Like

understood. thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.