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

Odom frame does not exist when running Tutorial with realsense, VSLAM and nvblox #34

Closed
chivas1000 opened this issue Oct 4, 2022 · 17 comments
Assignees
Labels
needs info Needs more information

Comments

@chivas1000
Copy link

Hi
I'm implementing nvblox and VSLAM on my robots to do a navigation application

The installation is good and I can run the examples of nvblox bag example and VSLAM realsense example

but Got Error When running the nvblox realsense and NVSLAM examples
https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_nvblox/blob/main/docs/tutorial-nvblox-vslam-realsense.md

here are error logs:
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] [INFO] [1664879434.204059913] [rclcpp]: signal_handler(signum=2)
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[component_container-1] [INFO] [1664879436.427147138] [rclcpp]: signal_handler(signum=2)
[component_container-1] [INFO] [1664879436.666174595] [rclcpp]: signal_handler(signum=2)
[component_container-1] [INFO] [1664879436.827491359] [rclcpp]: signal_handler(signum=2)
[component_container-1] [INFO] [1664879437.023495947] [rclcpp]: signal_handler(signum=2)
[component_container-1] terminate called after throwing an instance of 'rclcpp::exceptions::InvalidParameterTypeException'
[component_container-1] what(): parameter 'accel_fps' has invalid type: cannot undeclare an statically typed parameter

I can confirm the camera are running since the topic can output images.
Does anyone have ideas on how this could be solve?
BTW I'm new to docker, why does the rqt_graph doesn't work in the container although installed it?

Much appreciated if anyone could help.

@chivas1000
Copy link
Author

chivas1000 commented Oct 5, 2022

by the way, I'm using jetson AGX Xavier with jetpack 5.0.2 with realsense D435i
and I've transferred the root system to sdcard, will this cause a IO bottleneck?

@chivas1000
Copy link
Author

chivas1000 commented Oct 5, 2022

looking at the graph it seems that the VSLAM node doesn't open
image

Error Log more specific after launching the script

admin@ubuntu:~$ ros2 launch nvblox_examples_bringup nvblox_vslam_realsense.launch.py
[INFO] [launch]: All log files can be found below /home/admin/.ros/log/2022-10-05-07-44-54-315962-ubuntu-11348
[INFO] [launch]: Default logging verbosity is set to INFO
/workspaces/isaac_ros-dev/install/nvblox_examples_bringup/share/nvblox_examples_bringup/config/nvblox_vslam_realsense.rviz
[INFO] [component_container-1]: process started with pid [11359]
[INFO] [isaac_ros_visual_slam-2]: process started with pid [11361]
[INFO] [nvblox_node-3]: process started with pid [11363]
[INFO] [static_transform_publisher-4]: process started with pid [11365]
[INFO] [rviz2-5]: process started with pid [11367]
[static_transform_publisher-4] [WARN] [1664955896.323346218] []: Old-style arguments are deprecated; see --help for new-style arguments
[static_transform_publisher-4] [INFO] [1664955896.513530017] [static_transform_publisher_TTBBBeHEbhxSJuCp]: Spinning until stopped - publishing transform
[static_transform_publisher-4] translation: ('0.000000', '0.000000', '0.000000')
[static_transform_publisher-4] rotation: ('0.000000', '0.000000', '0.000000', '1.000000')
[static_transform_publisher-4] from 'base_link' to 'camera_link'
[component_container-1] [INFO] [1664955896.622333117] [realsense_container]: Load Library: /workspaces/isaac_ros-dev/install/realsense2_camera/lib/librealsense2_camera.so
[component_container-1] [INFO] [1664955896.796502685] [realsense_container]: Found class: rclcpp_components::NodeFactoryTemplate<realsense2_camera::RealSenseNodeFactory>
[component_container-1] [INFO] [1664955896.796745681] [realsense_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<realsense2_camera::RealSenseNodeFactory>
[rviz2-5] QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-admin'
[nvblox_node-3] I1005 07:44:56.875982 11363 layer_cake_impl.h:32] Adding Layer with type: N6nvblox15VoxelBlockLayerINS_9TsdfVoxelEEE, voxel_size: 0.05, and memory_type: kDevice to LayerCake.
[nvblox_node-3] I1005 07:44:56.880472 11363 layer_cake_impl.h:32] Adding Layer with type: N6nvblox15VoxelBlockLayerINS_10ColorVoxelEEE, voxel_size: 0.05, and memory_type: kDevice to LayerCake.
[nvblox_node-3] I1005 07:44:56.880540 11363 layer_cake_impl.h:32] Adding Layer with type: N6nvblox15VoxelBlockLayerINS_9EsdfVoxelEEE, voxel_size: 0.05, and memory_type: kDevice to LayerCake.
[nvblox_node-3] I1005 07:44:56.880581 11363 layer_cake_impl.h:32] Adding Layer with type: N6nvblox10BlockLayerINS_9MeshBlockEEE, voxel_size: 0.05, and memory_type: kDevice to LayerCake.
[nvblox_node-3] [INFO] [1664955896.969680911] [nvblox_node]: Outputting results (as requested) to: /home/nvidia/data/meshes/
[nvblox_node-3] [INFO] [1664955896.970138611] [nvblox_node]: Started up nvblox node in frame odom and voxel size 0.05
[isaac_ros_visual_slam-2] [INFO] [1664955897.007133002] [visual_slam_node]: Elbrus version: 10.0
[component_container-1] [INFO] [1664955897.187497561] [camera.camera]: RealSense ROS v3.2.3
[component_container-1] [INFO] [1664955897.187686248] [camera.camera]: Built with LibRealSense v2.51.1
[component_container-1] [INFO] [1664955897.187767150] [camera.camera]: Running with LibRealSense v2.51.1
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/camera/camera' in container '/realsense_container'
[component_container-1] [INFO] [1664955897.220192951] [realsense_container]: Load Library: /workspaces/isaac_ros-dev/install/realsense_splitter/lib/librealsense_splitter_component.so
[component_container-1] [INFO] [1664955897.251181709] [realsense_container]: Found class: rclcpp_components::NodeFactoryTemplatenvblox::RealsenseSplitterNode
[component_container-1] [INFO] [1664955897.251414592] [realsense_container]: Instantiate class: rclcpp_components::NodeFactoryTemplatenvblox::RealsenseSplitterNode
[component_container-1] [INFO] [1664955897.333858306] [camera.realsense_splitter_node]: Creating a RealsenseSplitterNode().
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/camera/realsense_splitter_node' in container '/realsense_container'
[component_container-1] [INFO] [1664955898.031412018] [camera.camera]: Device with serial number 135122070687 was found.
[component_container-1]
[component_container-1] [INFO] [1664955898.031640388] [camera.camera]: Device with physical ID 2-4.1.3-8 was found.
[component_container-1] [INFO] [1664955898.031755437] [camera.camera]: Device with name Intel RealSense D435I was found.
[component_container-1] [INFO] [1664955898.033193375] [camera.camera]: Device with port number 2-4.1.3 was found.
[component_container-1] [INFO] [1664955898.033492919] [camera.camera]: Device USB type: 3.2
[component_container-1] [INFO] [1664955898.088029646] [camera.camera]: getParameters...
[component_container-1] [INFO] [1664955898.183163630] [camera.camera]: setupDevice...
[component_container-1] [INFO] [1664955898.183306489] [camera.camera]: JSON file is not provided
[component_container-1] [INFO] [1664955898.183403329] [camera.camera]: Device Name: Intel RealSense D435I
[component_container-1] [INFO] [1664955898.183498024] [camera.camera]: Device physical port: 2-4.1.3-8
[component_container-1] [INFO] [1664955898.183561325] [camera.camera]: Device FW version: 05.13.00.50
[component_container-1] [INFO] [1664955898.183641364] [camera.camera]: Device Product ID: 0x0B3A
[component_container-1] [INFO] [1664955898.183705881] [camera.camera]: Enable PointCloud: Off
[component_container-1] [INFO] [1664955898.183761405] [camera.camera]: Align Depth: Off
[component_container-1] [INFO] [1664955898.183816801] [camera.camera]: Sync Mode: Off
[component_container-1] [INFO] [1664955898.183960045] [camera.camera]: Device Sensors:
[component_container-1] [INFO] [1664955898.328450891] [camera.camera]: Stereo Module was found.
[component_container-1] [INFO] [1664955898.451257750] [camera.camera]: RGB Camera was found.
[component_container-1] [INFO] [1664955898.452030515] [camera.camera]: Motion Module was found.
[component_container-1] [INFO] [1664955898.452301257] [camera.camera]: (Infrared, 0) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1664955898.452425811] [camera.camera]: (Fisheye, 0) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1664955898.452526843] [camera.camera]: (Fisheye, 1) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1664955898.452619650] [camera.camera]: (Fisheye, 2) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1664955898.452684103] [camera.camera]: (Pose, 0) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1664955898.452747852] [camera.camera]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1664955898.452813585] [camera.camera]: num_filters: 0
[component_container-1] [INFO] [1664955898.452870102] [camera.camera]: Setting Dynamic reconfig parameters.
[rviz2-5] [INFO] [1664955899.741924616] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-5] [INFO] [1664955899.742368331] [rviz2]: OpenGl version: 4.6 (GLSL 4.6)
[rviz2-5] [INFO] [1664955900.144996839] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] [INFO] [1664955900.937736402] [nvblox_node]: Got a new subscriber, sending entire map.
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[component_container-1] [INFO] [1664955903.877128552] [camera.camera]: Done Setting Dynamic reconfig parameters.
[component_container-1] [INFO] [1664955903.886566379] [camera.camera]: depth stream is enabled - width: 640, height: 480, fps: 30, Format: Z16
[component_container-1] [INFO] [1664955903.889095953] [camera.camera]: infra1 stream is enabled - width: 640, height: 480, fps: 30, Format: Y8
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[component_container-1] [INFO] [1664955903.894798447] [camera.camera]: infra2 stream is enabled - width: 640, height: 480, fps: 30, Format: Y8
[component_container-1] [INFO] [1664955903.898540980] [camera.camera]: color stream is enabled - width: 640, height: 480, fps: 30, Format: RGB8
[component_container-1] [INFO] [1664955903.898721794] [camera.camera]: setupPublishers...
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[component_container-1] [INFO] [1664955904.249435663] [camera.camera]: setupStreams...
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[component_container-1] 05/10 07:45:04,828 WARNING [281472225241392] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[component_container-1] 05/10 07:45:05,087 WARNING [281472225241392] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[component_container-1] [INFO] [1664955905.139688398] [camera.camera]: SELECTED BASE:Depth, 0
[component_container-1] [INFO] [1664955905.181366238] [camera.camera]: Device Serial No: 135122070687
[component_container-1] [INFO] [1664955905.181638675] [camera.camera]: RealSense Node Is Up!
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[component_container-1] [WARN] [1664955905.221946681] [camera.camera]:
[component_container-1] 05/10 07:45:05,230 WARNING [281472225241392] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[nvblox_node-3] [INFO] [1664955905.270794168] [nvblox_node]: Depth frame statistics:
[nvblox_node-3] avg=nan, min=nan, max=nan, std_dev=nan, count=0
[nvblox_node-3] [INFO] [1664955905.271339842] [nvblox_node]: Timing statistics:
[nvblox_node-3] NVBlox Timing
[nvblox_node-3] -----------
[nvblox_node-3] esdf/integrate_slice 83 00.000075 (00.000001 +- 00.000000) [00.000001,00.000003]
[nvblox_node-3] mesh/gpu/integrate 8 00.000005 (00.000001 +- 00.000000) [00.000000,00.000001]
[nvblox_node-3] ros/esdf 83 00.002859 (00.000034 +- 00.000066) [00.000018,00.000373]
[nvblox_node-3] ros/esdf/integrate 83 00.002283 (00.000028 +- 00.000066) [00.000014,00.000369]
[nvblox_node-3] ros/mesh 8 00.002172 (00.000271 +- 00.000613) [00.000022,00.001893]
[nvblox_node-3] ros/mesh/integrate_and_color 8 00.000138 (00.000017 +- 00.000009) [00.000012,00.000041]
[nvblox_node-3] ros/mesh/output 8 00.001973 (00.000247 +- 00.000613) [00.000007,00.001868]
[nvblox_node-3] ros/total 2572 00.014625 (00.000006 +- 00.000007) [00.000000,00.001898]
[nvblox_node-3]
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[component_container-1] 05/10 07:45:05,281 WARNING [281472225241392] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[rviz2-5] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[rviz2-5] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist
[nvblox_node-3] at line 93 in /opt/ros/humble/src/geometry2/tf2/src/buffer_core.cpp
[nvblox_node-3] Warning: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist

@alexmillane
Copy link
Collaborator

Hi there. Thank you for the message and for your interest in nvblox.

I think your diagnosis is correct, the issue is that vslam hasn't started.

The (annoying) messages on the console are because, nvblox checks at a 100Hz to see if the sensor pose is available and can't find the transform from 'odom' to the camera.

Could you just check a few things?

  • vslam is successfully built
  • just double check it's definately not running by running: ros2 node list

@chivas1000
Copy link
Author

chivas1000 commented Oct 8, 2022

Hi there. Thank you for the message and for your interest in nvblox.

I think your diagnosis is correct, the issue is that vslam hasn't started.

The (annoying) messages on the console are because, nvblox checks at a 100Hz to see if the sensor pose is available and can't find the transform from 'odom' to the camera.

Could you just check a few things?

  • vslam is successfully built
  • just double check it's definately not running by running: ros2 node list

Hi @alexmillane, thanks for your reply

I ran it over again with the nvblox_vslam_realsense.launch.py and seem that my camera is outputting /camera/color/image_raw, but not outputting images for /camera/realsense_splitter_node/output/infra_1, which is the one vlam subscribed.
image

and /camera/depth/image_rect_raw no output too

but seeing my realsense-viewer, it works properly.
image

and rqt_graph seems that vslam_node and nvblox_node are up and topics subscrition are right.
image

Here is my ros2 node list, it seems that these two nodes are running but maybe this time it has no image input so it does not work
agilex@ubuntu:~$ ros2 node list
/camera/camera
/camera/realsense_splitter_node
/launch_ros_29486
/nvblox_node
/realsense_container
/rviz
/static_transform_publisher_wErZdyhdFXtjHQqz
/transform_listener_impl_aaaaca406500
/transform_listener_impl_aaaaee2c8f30
/transform_listener_impl_aaab12b8eb50
/visual_slam_node

for your question that if the vslam is successfully built
I ran the example of isaac_ros_visual_slam_realsense.launch.py and it works.
Screenshot from 2022-10-04 20-29-26.png

I want to only running the realsense node on the nvblox_vslam_realsense.launch.py by only leaving the realsense related lines, but there are no output both for topic echo and rviz2
image

In conclusion, I think maybe the splitter node doesn't work in my case, since there is no output when the topics are came out of splitter(including depth)

I think I might just try removing the splitter first and then see if it works,

Thanks for your reply and help and if you has any idea for this problem please feel free to tell me.

------------------------updates---------------------------------------
I got this successfully ran by directly linking the /camera/infra1/image_rect_raw and infra2 with vslam node and removed the qos TAG in camera yaml files, since I checked the vslam node didn't got the infra topics at splitter node, after 10s of seconds waiting for VSLAM initialization, it outputs odom frame and worked.
image

so maybe there are some issues in the splitter node or I didn't configure it right.

but for the running, it seems that it didn't output ESDF map, may i ask how to output ESDF map since I want it to do path planning and NAVIGATE my robot? Any advises would be much appreciated, and I want to refer to issac simulation setup, is that a valid way?

Anyway, thanks for your reply and assistance.

@alexmillane
Copy link
Collaborator

Great that you got it working.

To me, it appears that something is wrong with the projector toggling.

One potential issue with removing the splitter is that, if the projector is on, the projector pattern with cause VSLAM tracking performance to degrade.

Could you have a look at the IR images and see if you see the projector pattern? They appear as spots.

One thing you could also try is adding

'image_qos': 'SENSOR_DATA'

to the VSLAM parameters in the launchfile. This should have been in there, and it is a bug that it's not. Thank you for finding that. We will correct this shortly.

Regarding the ESDF map: the 2D ESDF slice should already be published. Try to visualize it in RVIZ and see if you can.

We're using the 2D slice here at nvidia to navigate ground robots.

@chivas1000
Copy link
Author

chivas1000 commented Oct 10, 2022

Hi @alexmillane,
Thanks for your reply and I learned from you that if the IR emitting pattern can be shut down it will increase VSLAM performance, But sadly my splitter still not working, it only show messages for the depth images but not two infrared cams, so the VSLAM node can't get images from splitter.

In order to get the splitter work, I've try to just launch the realsense, splitter in a container and see the output:

admin@ubuntu:/workspaces/isaac_ros-dev$ ros2 launch nvblox_examples_bringup realsense_2.launch.py
[INFO] [launch]: All log files can be found below /home/admin/.ros/log/2022-10-10-12-37-42-589962-ubuntu-17212
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [component_container-1]: process started with pid [17235]
[INFO] [static_transform_publisher-2]: process started with pid [17237]
[static_transform_publisher-2] [WARN] [1665405463.696407382] []: Old-style arguments are deprecated; see --help for new-style arguments
[static_transform_publisher-2] [INFO] [1665405463.825379821] [static_transform_publisher_ZmundZFhUAx2yf3z]: Spinning until stopped - publishing transform
[static_transform_publisher-2] translation: ('0.000000', '0.000000', '0.000000')
[static_transform_publisher-2] rotation: ('0.000000', '0.000000', '0.000000', '1.000000')
[static_transform_publisher-2] from 'base_link' to 'camera_link'
[component_container-1] [INFO] [1665405463.844361887] [realsense_container]: Load Library: /workspaces/isaac_ros-dev/install/realsense2_camera/lib/librealsense2_camera.so
[component_container-1] [INFO] [1665405463.978694639] [realsense_container]: Found class: rclcpp_components::NodeFactoryTemplate<realsense2_camera::RealSenseNodeFactory>
[component_container-1] [INFO] [1665405463.978952568] [realsense_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<realsense2_camera::RealSenseNodeFactory>
[component_container-1] [INFO] [1665405464.175236779] [camera.camera]: RealSense ROS v3.2.3
[component_container-1] [INFO] [1665405464.175498452] [camera.camera]: Built with LibRealSense v2.51.1
[component_container-1] [INFO] [1665405464.175620761] [camera.camera]: Running with LibRealSense v2.51.1
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/camera/camera' in container '/realsense_container'
[component_container-1] [INFO] [1665405464.207149885] [realsense_container]: Load Library: /workspaces/isaac_ros-dev/install/realsense_splitter/lib/librealsense_splitter_component.so
[component_container-1] [INFO] [1665405464.217913843] [realsense_container]: Found class: rclcpp_components::NodeFactoryTemplatenvblox::RealsenseSplitterNode
[component_container-1] [INFO] [1665405464.218159451] [realsense_container]: Instantiate class: rclcpp_components::NodeFactoryTemplatenvblox::RealsenseSplitterNode
[component_container-1] [INFO] [1665405464.247750205] [camera.realsense_splitter_node]: Creating a RealsenseSplitterNode().
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/camera/realsense_splitter_node' in container '/realsense_container'
[component_container-1] [INFO] [1665405464.905777779] [camera.camera]: Device with serial number 135122070687 was found.
[component_container-1]
[component_container-1] [INFO] [1665405464.910863908] [camera.camera]: Device with physical ID 2-4.1.3-5 was found.
[component_container-1] [INFO] [1665405464.910997576] [camera.camera]: Device with name Intel RealSense D435I was found.
[component_container-1] [INFO] [1665405464.912858537] [camera.camera]: Device with port number 2-4.1.3 was found.
[component_container-1] [INFO] [1665405464.913038159] [camera.camera]: Device USB type: 3.2
[component_container-1] [INFO] [1665405464.950806828] [camera.camera]: getParameters...
[component_container-1] [INFO] [1665405464.999962804] [camera.camera]: setupDevice...
[component_container-1] [INFO] [1665405465.001247776] [camera.camera]: JSON file is not provided
[component_container-1] [INFO] [1665405465.001374693] [camera.camera]: Device Name: Intel RealSense D435I
[component_container-1] [INFO] [1665405465.001445479] [camera.camera]: Device physical port: 2-4.1.3-5
[component_container-1] [INFO] [1665405465.001506889] [camera.camera]: Device FW version: 05.13.00.50
[component_container-1] [INFO] [1665405465.001565547] [camera.camera]: Device Product ID: 0x0B3A
[component_container-1] [INFO] [1665405465.001623629] [camera.camera]: Enable PointCloud: Off
[component_container-1] [INFO] [1665405465.001682351] [camera.camera]: Align Depth: Off
[component_container-1] [INFO] [1665405465.001738257] [camera.camera]: Sync Mode: Off
[component_container-1] [INFO] [1665405465.001854997] [camera.camera]: Device Sensors:
[component_container-1] [INFO] [1665405465.197056738] [camera.camera]: Stereo Module was found.
[component_container-1] [INFO] [1665405465.308215310] [camera.camera]: RGB Camera was found.
[component_container-1] [INFO] [1665405465.309233937] [camera.camera]: Motion Module was found.
[component_container-1] [INFO] [1665405465.309495707] [camera.camera]: (Infrared, 0) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1665405465.309606526] [camera.camera]: (Fisheye, 0) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1665405465.309680609] [camera.camera]: (Fisheye, 1) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1665405465.309755108] [camera.camera]: (Fisheye, 2) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1665405465.309828102] [camera.camera]: (Pose, 0) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1665405465.309906153] [camera.camera]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[component_container-1] [INFO] [1665405465.309976267] [camera.camera]: num_filters: 0
[component_container-1] [INFO] [1665405465.310036397] [camera.camera]: Setting Dynamic reconfig parameters.
[component_container-1] [INFO] [1665405469.992043916] [camera.camera]: Done Setting Dynamic reconfig parameters.
[component_container-1] [INFO] [1665405469.997356645] [camera.camera]: depth stream is enabled - width: 640, height: 480, fps: 30, Format: Z16
[component_container-1] [INFO] [1665405469.999667829] [camera.camera]: infra1 stream is enabled - width: 640, height: 480, fps: 30, Format: Y8
[component_container-1] [INFO] [1665405470.002353970] [camera.camera]: infra2 stream is enabled - width: 640, height: 480, fps: 30, Format: Y8
[component_container-1] [INFO] [1665405470.007968948] [camera.camera]: color stream is enabled - width: 640, height: 480, fps: 30, Format: RGB8
[component_container-1] [INFO] [1665405470.008193852] [camera.camera]: setupPublishers...
[component_container-1] [INFO] [1665405470.166304671] [camera.camera]: setupStreams...
[component_container-1] 10/10 12:37:50,780 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:37:50,913 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] [INFO] [1665405470.965908715] [camera.camera]: SELECTED BASE:Depth, 0
[component_container-1] [INFO] [1665405470.987942214] [camera.camera]: Device Serial No: 135122070687
[component_container-1] [INFO] [1665405470.988653983] [camera.camera]: RealSense Node Is Up!
[component_container-1] [WARN] [1665405471.048099913] [camera.camera]:
[component_container-1] 10/10 12:37:51,061 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:37:51,115 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:37:51,270 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:37:51,321 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:37:51,372 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:37:51,428 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
^X[component_container-1] 10/10 12:39:26,516 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:40:07,624 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:40:20,696 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:40:26,756 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:41:07,866 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:42:34,037 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[component_container-1] 10/10 12:42:54,122 WARNING [281473214404912] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

I see that there are some errors there, and I look into the splitter code, is that seems like the splitter couldn't tell the realsense node to turn off but it said it cannot, so there are no output from splitter?

Is that way to fix or anyother way to stop emitting IR patterns?

Again, thanks for your reply.

@alexmillane
Copy link
Collaborator

Just to double check again, the infrared topics before the splitter are there? Correct?

So I'm having the same issue as you on one of my computers and I have made some progress in solving it. Could you post the results of the following three commands?

uname -r

dkms status

modinfo uvcvideo | grep "version:"

@chivas1000
Copy link
Author

chivas1000 commented Oct 11, 2022

@alexmillane Yes, the infrared topics before the splitter are there, upper one is the cameras infrared topic and below is the splitter one.
image

As to the command, I think you mean running inside the container, the dkms is first outputs "bash: dkms: command not found" and I apt installed it, and it has no output, so do the third commands.

inside the container:
admin@ubuntu:/workspaces/isaac_ros-dev$ uname -r
5.10.104-tegra
admin@ubuntu:/workspaces/isaac_ros-dev$ dkms status
admin@ubuntu:/workspaces/isaac_ros-dev$ modinfo uvcvideo | grep "version:"
modinfo: ERROR: Module alias uvcvideo not found.
admin@ubuntu:/workspaces/isaac_ros-dev$

for your convenience, I ran it outside the container too, and dkms is also not installed and no output after apt-get install, but third one has outputs:
agilex@ubuntu:$ dkms status
agilex@ubuntu:
$ uname -r
5.10.104-tegra
agilex@ubuntu:$ dkms status
agilex@ubuntu:
$ modinfo uvcvideo | grep "version:"
version: 1.1.1
srcversion: 187DBDC4F94931600634224
agilex@ubuntu:~$

Hope these information helps, thank you.

@helenol
Copy link
Collaborator

helenol commented Oct 11, 2022

Hi @chivas1000 , I think the issue is lacking the kernel patch outside the container to run the RealSense.
So one "easy" thing to try is to install the realsense drivers outside the container:
https://github.com/JetsonHacksNano/installLibrealsense/blob/master/installLibrealsense.sh
This should also bring in the librealsense2-dkms package which should bring in the kernel components and patches.

Another thing to try is to build the realsense drivers with -DFORCE_RSUSB_BACKEND=ON per this issue: IntelRealSense/librealsense#6964 (comment)

For newer kernels we found we needed to use a different work-around, detailed here: IntelRealSense/librealsense#10439
Though the pre-compiled binaries are only available for amd64 (though anyone struggling with the same issues on x86 might find this link useful): https://github.com/mengyui/librealsense2-dkms/releases

@chivas1000
Copy link
Author

chivas1000 commented Oct 11, 2022

Hi @chivas1000 , I think the issue is lacking the kernel patch outside the container to run the RealSense. So one "easy" thing to try is to install the realsense drivers outside the container: https://github.com/JetsonHacksNano/installLibrealsense/blob/master/installLibrealsense.sh This should also bring in the librealsense2-dkms package which should bring in the kernel components and patches.

Another thing to try is to build the realsense drivers with -DFORCE_RSUSB_BACKEND=ON per this issue: IntelRealSense/librealsense#6964 (comment)

For newer kernels we found we needed to use a different work-around, detailed here: IntelRealSense/librealsense#10439 Though the pre-compiled binaries are only available for amd64 (though anyone struggling with the same issues on x86 might find this link useful): https://github.com/mengyui/librealsense2-dkms/releases

Thank you @helenol , but it seems that there are no avaliable realsense binary releases of jetpack 5.0.2 i.e. kernel 5.10.104-tegra or Ubuntu20.04 ROS humble, I'm trying to build it from source to see if it can solve this issue

@chivas1000
Copy link
Author

chivas1000 commented Oct 12, 2022

Hi @chivas1000 , I think the issue is lacking the kernel patch outside the container to run the RealSense. So one "easy" thing to try is to install the realsense drivers outside the container: https://github.com/JetsonHacksNano/installLibrealsense/blob/master/installLibrealsense.sh This should also bring in the librealsense2-dkms package which should bring in the kernel components and patches.

Another thing to try is to build the realsense drivers with -DFORCE_RSUSB_BACKEND=ON per this issue: IntelRealSense/librealsense#6964 (comment)

For newer kernels we found we needed to use a different work-around, detailed here: IntelRealSense/librealsense#10439 Though the pre-compiled binaries are only available for amd64 (though anyone struggling with the same issues on x86 might find this link useful): https://github.com/mengyui/librealsense2-dkms/releases

Hi @helenol, I managed to build and install realsense outside the container with steps of:
https://github.com/IntelRealSense/librealsense/blob/master/scripts/libuvc_installation.sh
and your advice on putting -DFORCE_RSUSB_BACKEND=ON
IntelRealSense/librealsense#6964 (comment)

but after installing it, and open the container and build the colcon build nvblox again, it doesn't solve the issue

I supposed that your idea of kernel patch needs to be install is right and USB_BACKEND doesn't work since maybe only the kernel controls the depth camera advanced features.

But the kernel patch you gave are for kernel 5.13/15 amd64 and jetpack 5.0.2 is kernel 5.1.104 arm64, so I don't know if it could supports, should I build the kernel patch or just wait for the release? or any advises would be greatly welcome.

Thanks for your help

@alexmillane
Copy link
Collaborator

Hi @chivas1000. Somehow I missed your message about being on the jetson XD. I was giving advice assuming x86. Could you send me an email at [email protected]?

@chivas1000
Copy link
Author

chivas1000 commented Oct 20, 2022

Hi @chivas1000. Somehow I missed your message about being on the jetson XD. I was giving advice assuming x86. Could you send me an email at [email protected]?

Hi @alexmillane , Thank you for the trouble shooting, here is the update

Since right now there no installable dkms for arm64 for jetpack 5.0.2 and its kernel.
I switched to x86(nuc10i7) and installed Ubuntu 20.04.5 LTS, and kernel is 5.15.0-52-generic, installed ROS2 foxy and installed realsense-ros at ROS2 branch

https://github.com/IntelRealSense/realsense-ros/tree/ros2-beta

noting that the difference would be at STEP 2 for apt binary install:
https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md#installing-the-packages
here, I don't do sudo apt-get install librealsense2-dkms since there should be no avaliable for this kernel, instead I install the releases you've post:
https://github.com/mengyui/librealsense2-dkms/releases/tag/initial-support-for-kernel-5.15
to install DKMS, except this all steps are normal (just go over the steps in realsense ROS2)

Screenshot from 2022-10-20 20-09-38

After building, I would be able to run splitter(Upper two and below right are splitter output, below left are original IR cam), so here would be some tips for who may run into mistakes same with me.

Thank you again for the support.

@alexmillane
Copy link
Collaborator

Hmmm yea good point, the dmks-based solution suggested by my troubleshooting is for x86 only.

Obviously for us at nvidia switching from a jetson to a nuc is not a great solution...

I'm running on the jetson quite frequently. So I'm trying to understand what's different about your system. I'm going to record a video of things running that might help you... I'll get back to you later this week.

@ripdk12
Copy link

ripdk12 commented Oct 28, 2022

Just chiming in, as I have almost the exact same setup, just with a Xavier NX instead, and am experiencing the same issues. @chivas1000 can you give a slightly more detailed description of how you fixed the issue? Also did you get the rqt_graph working inside the container? Thanks :D

@chivas1000
Copy link
Author

Just chiming in, as I have almost the exact same setup, just with a Xavier NX instead, and am experiencing the same issues. @chivas1000 can you give a slightly more detailed description of how you fixed the issue? Also did you get the rqt_graph working inside the container? Thanks :D

Hi @ripdk12 ,
I've just switched to nuc to avoid the splitter not working issue,
But as for the xavier, I assume that you can just build librealsense from source outside the container for this
https://github.com/IntelRealSense/realsense-ros/tree/ros2-beta
at step 2
and then go through the docker setup of this repo to see if it can output.

@ripdk12
Copy link

ripdk12 commented Oct 29, 2022

Just chiming in, as I have almost the exact same setup, just with a Xavier NX instead, and am experiencing the same issues. @chivas1000 can you give a slightly more detailed description of how you fixed the issue? Also did you get the rqt_graph working inside the container? Thanks :D

Hi @ripdk12 , I've just switched to nuc to avoid the splitter not working issue, But as for the xavier, I assume that you can just build librealsense from source outside the container for this https://github.com/IntelRealSense/realsense-ros/tree/ros2-beta at step 2 and then go through the docker setup of this repo to see if it can output.

I did this already and this fixed the odom frame problem, but am still experience issues, and switching to nuc is not an option in my case. I suppose I'll open an issue myself with more details, but thanks for the snappy response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Needs more information
Projects
None yet
Development

No branches or pull requests

6 participants