0
$\begingroup$

I'm using a launch.yaml like this:

launch:
    - node_container:
        pkg: rclcpp_components
        exec: component_container
        name: my_container
        namespace: ''
        composable_node:
            -   pkg: rosbag2_transport # New rolling node
                plugin: rosbag2_transport::Player
                name: bag_player
                namespace: ''
                # arguments: ['--ros-args', '--log-level', 'debug']
                # args: ['--ros-args', '--log-level', 'debug']
                # ros-args: ['--log-level', 'debug']
                param:
                # - name: logging_level
                #   value: 'debug'

However, I'd like to enable DEBUG logging, but none of the options I've tried (see the commented-out lines) have worked, and there is scant documentation on the format. Has anyone got this to work?

$\endgroup$

1 Answer 1

1
$\begingroup$

Experimenting as I wrote the question, I finally found the required lines:

launch:
    - node_container:
        pkg: rclcpp_components
        exec: component_container
        name: my_container
        namespace: ''
        args: '--ros-args --log-level debug'
        composable_node:
            -   pkg: rosbag2_transport # New rolling node
                plugin: rosbag2_transport::Player
                name: bag_player
                namespace: ''
                param:

I'm leaving this as a self-answer as it may help someone else with a similar issue.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.