Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isaac_ros_visual_slam_zed.launch.py If an error occurs when running #151

Open
konghun opened this issue Feb 19, 2024 · 2 comments
Open

isaac_ros_visual_slam_zed.launch.py If an error occurs when running #151

konghun opened this issue Feb 19, 2024 · 2 comments
Assignees
Labels
verify to close Waiting on confirm issue is resolved

Comments

@konghun
Copy link

konghun commented Feb 19, 2024

**Hello, I am trying to do vslam using ZED2i.

I've done all the environment settings, but I'm getting this error. Does anyone have a similar experience?**

[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'image_format_node_left' of type 'nvidia::isaac_ros::image_proc::ImageFormatConverterNode' in container '/visual_slam_launch_container': Could not find requested resource in ament index
[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'image_format_node_right' of type 'nvidia::isaac_ros::image_proc::ImageFormatConverterNode' in container '/visual_slam_launch_container': Could not find requested resource in ament index

visual_slam_node is said to have been successfully loaded within the container

[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/visual_slam_node' in container '/visual_slam_launch_container'

@swapnesh-wani-nvidia swapnesh-wani-nvidia self-assigned this Feb 21, 2024
@swapnesh-wani-nvidia swapnesh-wani-nvidia added the verify to close Waiting on confirm issue is resolved label Feb 21, 2024
@swapnesh-wani-nvidia
Copy link

Looks like you are missing ImageFormatConverterNode. It is part of isaac_ros_image_proc package. Make sure you are building the package correctly. Could you share how you built the package?

@Jimi1811
Copy link

Hi there! I encountered a similar issue while working with the documentation for Isaac ROS VSLAM. The documentation suggests installing the package using sudo apt-get install -y ros-humble-isaac-ros-stereo-image-proc. Despite following this instruction, I faced the same problem.

In an attempt to resolve it, I moved the package located in /opt/ros/humble/share to the src directory. However, upon compilation, I encountered an error indicating the absence of a .txt file. Consequently, I decided to clone the package from this repository and compiled it successfully.

After compilation, I verified its presence using the command ros2 pkg list, only to find that the output remained unchanged, unfortunately.

admin@ubuntu:/workspaces/isaac_ros-dev$ ros2 launch isaac_ros_visual_slam isaac_ros_visual_slam_zed.launch.py
[INFO] [launch]: All log files can be found below /home/admin/.ros/log/2024-04-29-17-39-30-412315-ubuntu-20695
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [component_container-1]: process started with pid [20706]
[component_container-1] [ERROR] [1714430376.086975535] [visual_slam_launch_container]: Could not find requested resource in ament index
[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'image_format_node_left' of type 'nvidia::isaac_ros::image_proc::ImageFormatConverterNode' in container '/visual_slam_launch_container': Could not find requested resource in ament index
[component_container-1] [ERROR] [1714430376.093385568] [visual_slam_launch_container]: Could not find requested resource in ament index
[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'image_format_node_right' of type 'nvidia::isaac_ros::image_proc::ImageFormatConverterNode' in container '/visual_slam_launch_container': Could not find requested resource in ament index
[component_container-1] [INFO] [1714430376.097873189] [visual_slam_launch_container]: Load Library: /workspaces/isaac_ros-dev/install/isaac_ros_visual_slam/lib/libvisual_slam_node.so
[component_container-1] [INFO] [1714430376.328403243] [visual_slam_launch_container]: Found class: rclcpp_components::NodeFactoryTemplate<nvidia::isaac_ros::visual_slam::VisualSlamNode>
[component_container-1] [INFO] [1714430376.328525005] [visual_slam_launch_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<nvidia::isaac_ros::visual_slam::VisualSlamNode>
[component_container-1] [INFO] [1714430376.419255316] [visual_slam_node]: cuVSLAM version: 11.4
[component_container-1] [INFO] [1714430379.014976567] [visual_slam_node]: Time taken by CUVSLAM_WarmUpGPU(): 2.595536
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/visual_slam_node' in container '/visual_slam_launch_container'

I recently encountered this issue, which stemmed from a problem with policy in the subscribers. To address it, I took the following steps: First, I commented out the zed node in ros2 launch isaac_ros_visual_slam isaac_ros_visual_slam_zed.launch.py. Next, I ran ros2 launch zed_wrapper zed_camera.launch.py camera_model:=zed2i.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verify to close Waiting on confirm issue is resolved
Projects
None yet
Development

No branches or pull requests

3 participants