NVIDIA-ISAAC-ROS / NVIDIA-ISAAC-ROS/isaac_ros_visual_slam

OAK-Pro VSLAM: Frame [map] does not exist

Open
#113 4 comments 0 reactions 1 assignee View on GitHub

@swapnesh-wani-nvidia is already working on this.

Since Oct 23, 2023.

needs info
Dominant language
C++
Stars
1.5k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

Hi there,
I am trying to run Luxonis OAK-Pro camera in stereo mode with Isaac VSLAM, although the process stucks inside VSLAM node. The camera publishes non-rectified left/right images with corresponding camera_info topics and IMU data. According to rqt_graph, the visual_slam node subscribes to remapped topics, but outputs empty topics and map -> camera_link transform (Error: Frame [map] does not exist). /image_raw and /camera_info topics are publish in the same rate, so I neglect https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam/issues/108#issue-1844759155 Could you please check my launchfile and confirm the parameter configuration? Any opinions on the reason of missing transform?

I use following launchfile:

import launch
from launch_ros.actions import ComposableNodeContainer
from launch_ros.descriptions import ComposableNode


def generate_launch_description():
    """Launch file to bring up visual slam node standalone."""
    visual_slam_node = ComposableNode(
        name='visual_slam_node',
        package='isaac_ros_visual_slam',
        plugin='isaac_ros::visual_slam::VisualSlamNode',
        remappings=[('stereo_camera/left/image', 'oak/left/image_raw'),
                    ('stereo_camera/right/image', 'oak/right/image_raw'),
                    ('stereo_camera/left/camera_info', 'oak/left/camera_info'),
                    ('stereo_camera/right/camera_info', 'oak/right/camera_info'),
                    ('visual_slam/imu', 'oak/imu/data')],
                                       
        parameters=[{
                    'use_sim_time': False,
                    'denoise_input_images': True,
                    'rectified_images': True,
                    'enable_slam_visualization': True,
                    'enable_observations_view': True,
                    'enable_landmarks_view': True,
                    'enable_imu_fusion': True, 
                    'enable_debug_mode': False,
                    'enable_verbosity': True,
                    'debug_dump_path': '/tmp/cuvslam',
                    'base_frame': 'oak-d-base-frame',
                    'map_frame': 'map',
                    'odom_frame': 'odom',
                    'input_imu_frame': 'oak_imu_frame'
                    }]
    )

    visual_slam_launch_container = ComposableNodeContainer(
        name='visual_slam_launch_container',
        namespace='',
        package='rclcpp_components',
        executable='component_container',
        composable_node_descriptions=[
            visual_slam_node
        ],
        output='screen'
    )

    return launch.LaunchDescription([visual_slam_launch_container])

rqt_graph output:

vslam_rosgraph

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.