Robotics StackExchange | Archived questions

Which options are available for output in a ros2 Node launch action?

I am aware of "screen" and "log". Specifically, I'd like to use an option that disables output or sends it to /dev/null or something like that for a test that I am writing.

Is there a documented list somewhere of all the options for output in Node launch action?

Specifically this is the code I'm looking at:

import pytest
from launch import LaunchDescription
from launch_ros.actions import Node

@pytest.mark.rostest
def generate_test_description() -> tuple[LaunchDescription, dict]:
    test_node = Node(
        package='test_node_pkg',
        executable='test_node.py',
        name='test_node',
        output='log' # <-- THIS: Which options do I have other than log?
    )

Asked by lexi on 2023-06-21 16:34:44 UTC

Comments

Answers