rmq_subscriber_docker.launch.py 526 Bytes
Newer Older
levi's avatar
levi committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from launch import LaunchDescription
import launch_ros.actions
from ament_index_python.packages import get_package_share_directory


def generate_launch_description():
    return LaunchDescription([
        launch_ros.actions.Node(
            parameters=[get_package_share_directory(
                "rmq_bridge") + '/config/default.yml'],
            package='rmq_bridge',
            executable='rmq_subscriber',
            name='rmq_subscriber_docker',  # name in ros network
            output='screen'
        )
    ])