Skip to content

LaunchConfigurationEquals deprecation warning in launch files #173

@PaulBouchier

Description

@PaulBouchier

This issue records the deprecation warning when launching hardware:

ros2 launch linorobot2_bringup bringup.launch.py base_serial_port:=/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.0-port0 lidar_serial_port:=/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2:1.0-port0

/opt/ros/jazzy/lib/python3.12/site-packages/launch/conditions/launch_configuration_equals.py:53: UserWarning: The 'LaunchConfigurationEquals' and 'LaunchConfigurationNotEquals' Conditions are deprecated. Use the 'EqualsSubstitution' and 'NotEqualsSubstitution' substitutions instead! E.g.: IfCondition( EqualsSubstitution(LaunchConfiguration('some_launch_arg'), "some_equality_check") ) warnings.warn(

I will submit a PR to fix it, and link it to this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions