Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 853 Bytes

ros2-launch-file.md

File metadata and controls

37 lines (27 loc) · 853 Bytes

ROS2 Launch file

Link

from launch import LaunchDescription
from launch_ros.actions import Node

def generate_launch_description():
    return LaunchDescription([
        Node(
            package='image_sub_cpp',
            #node_namespace='image_sub_cpp',
            node_executable='ros2_image_sub_cpp',
            node_name='sub_image_sample'
        ),
        Node(
            package='image_sub_py',
            
            node_executable='image_sub_py',
            node_name='image_sub_py'
        ),
        Node(
            package='speed_pub_cpp',
            node_executable='speed_pub_cpp',
            node_name='speed_ms_echo',
        )
    ])

What is ROS nodelet

https://answers.ros.org/question/230972/what-is-a-nodelet/