Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

[bug] ROS2 launch processor was unable ro produce a node list. #1296

@gsanya

Description

@gsanya

(Please add appropriate labels)

  • Windows: (Version)
  • Linux: Ubuntu 22.04 (Dist/Version)
  • ROS 1: Dist
  • ROS 2: Humble

<Version of the plugin>
v0.9.2

<Copy the Version information from the Help | About menu>
Version: 1.92.0
Commit: b1c0a14de1414fcdaa400695b4db1c0799bc3124
Date: 2024-07-31T23:26:45.634Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Linux x64 6.5.0-44-generic snap

what is the bug

<current behavior>
The following launch.json file doesn't start the debugging:

{
    "configurations": [
    {
        "name": "ROS: Launch",
        "type": "ros",
        "request": "launch",
        "target": "/home/appuser/spot_ros2/src/spot_ros2/spot_driver/launch/rviz.launch.py",
        "arguments": ["config_file:=/home/appuser/spot_ros2/src/spot_ros2/spot_driver/config/our_spotty.yaml",
                    "spot_name:=spotty publish_point_clouds:=True",
                    "launch_rviz:=True",
                    "uncompress_images:=False",
                    "publish_compressed_images:=True"]
    }    
    ]
}

It produces the following error popup:
image

While the following 2 commands start the launch file correctly (so it's not a problem with the launch script):

source install/setup.bash
ros2 launch spot_driver spot_driver.launch.py config_file:=/home/appuser/spot_ros2/src/spot_ros2/spot_driver/config/our_spotty.yaml spot_name:=spotty publish_point_clouds:=True launch_rviz:=True uncompress_images:=False publish_compressed_images:=True

Repro steps

<how to reproduce the bug. Please attach sample files or github repo if appropriate.>

  1. Create the launch file above
  2. ctrl+shift+p: ROS: Start
  3. On the run and debug pane click the green arrow beside ROS: Launch

expected behavior

<what you would expect to happen>
The debugger starts the nodes are debugable.

additional context

<any additional information would be helpful for a better understanding>
This shouldn't cause a problem, but I try to make the debugger work inside a dev_container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ROS2bugSomething isn't workinglaunchBugs and features related to launch files

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions